prepare migration files for migrate