Fix error in migration.