]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/migrations/0014_auto__add_field_question_accepted_answer.py
Fixes OSQA 393, cannot send feedback when user is authenticated.
[osqa.git] / forum / migrations / 0014_auto__add_field_question_accepted_answer.py
index 54ef07805390b58352c8a7294a4f3e620e1fa2c8..e73c960be836a279edcaf1f7f55a02e041055d6a 100644 (file)
@@ -12,10 +12,9 @@ class Migration(SchemaMigration):
         # Adding field 'Question.accepted_answer'\r
         db.add_column(u'question', 'accepted_answer', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['forum.Answer'], unique=True, null=True), keep_default=False)\r
 \r
-        if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES:\r
-            pass\r
-            db.execute("DROP TRIGGER tsvectorupdate ON question;")\r
-            db.execute("ALTER TABLE question DROP COLUMN tsv;")\r
+        #if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES:\r
+        #    db.execute("DROP TRIGGER tsvectorupdate ON question;")\r
+        #    db.execute("ALTER TABLE question DROP COLUMN tsv;")\r
     \r
     def backwards(self, orm):\r
         \r