Joe I've drilled holes just less than dia of M12 nuts so tight fit then knocked the nuts into holes just below surface with bolt in threads to protect then weld in place then grind welds flush.
I've got M12 bolts in 3mm box steel holding bearing blocks in place and never moved?