def set_couch_sql_migration_complete(domain): from corehq.apps.couch_sql_migration.couchsqlmigration import commit_migration commit_migration(domain) # no need to keep this around anymore since state is kept on domain model DomainMigrationProgress.objects.filter(domain=domain, migration_slug=COUCH_TO_SQL_SLUG).delete() # we get this for free set_tz_migration_complete(domain)
def set_couch_sql_migration_complete(domain): from corehq.apps.couch_sql_migration.couchsqlmigration import commit_migration commit_migration(domain) set_migration_complete(domain, COUCH_TO_SQL_SLUG) # we get this for free set_tz_migration_complete(domain) _notify_dimagi_users_on_domain(domain)
def set_couch_sql_migration_complete(domain): from corehq.apps.couch_sql_migration.couchsqlmigration import commit_migration commit_migration(domain) set_migration_complete(domain, COUCH_TO_SQL_SLUG) # we get this for free set_tz_migration_complete(domain) _notify_dimagi_users_on_domain(domain)
def set_couch_sql_migration_complete(domain): from corehq.apps.couch_sql_migration.couchsqlmigration import commit_migration commit_migration(domain) # no need to keep this around anymore since state is kept on domain model DomainMigrationProgress.objects.filter(domain=domain, migration_slug=COUCH_TO_SQL_SLUG).delete() # we get this for free set_tz_migration_complete(domain) _notify_dimagi_users_on_domain(domain)