예제 #1
0
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)
예제 #2
0
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)
예제 #3
0
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)
예제 #4
0
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)