migration: move migrate_new to do_migrate