]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/migrations/0014_auto__add_field_question_accepted_answer.py
adding support for the new Facebook oauth 2.0 authentication model
[osqa.git] / forum / migrations / 0014_auto__add_field_question_accepted_answer.py
index 799e13ab9dc56178ca2ccf1657fef3b6033f4229..e73c960be836a279edcaf1f7f55a02e041055d6a 100644 (file)
@@ -12,9 +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
-            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