]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/migrations/0014_auto__add_field_question_accepted_answer.py
fixed feedback page
[osqa.git] / forum / migrations / 0014_auto__add_field_question_accepted_answer.py
index 799e13ab9dc56178ca2ccf1657fef3b6033f4229..54ef07805390b58352c8a7294a4f3e620e1fa2c8 100644 (file)
@@ -13,8 +13,9 @@ class Migration(SchemaMigration):
         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
+            db.execute("ALTER TABLE question DROP COLUMN tsv;")\r
     \r
     def backwards(self, orm):\r
         \r