db.execute_many(PG_SEQUENCE_RESETS)
db.commit_transaction()
db.execute_many(PG_SEQUENCE_RESETS)
db.commit_transaction()
+def reindex_fts():
+ from south.db import db
+ if db.backend_name == "postgres":
+ db.start_transaction()
+ db.execute_many("UPDATE forum_node_revision set id = id WHERE TRUE;")
+ db.commit_transaction()
+
def sximport(dump, options):
try:
def sximport(dump, options):
try:
if triggers_disabled:
enable_triggers()
if triggers_disabled:
enable_triggers()
PG_DISABLE_TRIGGERS = """
PG_DISABLE_TRIGGERS = """