change the migration for apply