Remove dependency of migration on model