I wonder if you could write the migration as SQL