call doMigration from it