transactions around table creation logic break the migrations
pull record fns into public defs for integrating into new records