Switch migration commands to be in ruby_block resources so that the resource order works properly