X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/dff1ade92ec138f339c4391df09c090006907374..c8c6b98a7b2a365878871131e0f42c40d6b499fc:/forum/migrations/0014_auto__add_field_question_accepted_answer.py diff --git a/forum/migrations/0014_auto__add_field_question_accepted_answer.py b/forum/migrations/0014_auto__add_field_question_accepted_answer.py index 54ef078..e73c960 100644 --- a/forum/migrations/0014_auto__add_field_question_accepted_answer.py +++ b/forum/migrations/0014_auto__add_field_question_accepted_answer.py @@ -12,10 +12,9 @@ class Migration(SchemaMigration): # Adding field 'Question.accepted_answer' 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) - if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES: - pass - db.execute("DROP TRIGGER tsvectorupdate ON question;") - db.execute("ALTER TABLE question DROP COLUMN tsv;") + #if db.backend_name == "postgres" and not "pgfulltext" in settings.DISABLED_MODULES: + # db.execute("DROP TRIGGER tsvectorupdate ON question;") + # db.execute("ALTER TABLE question DROP COLUMN tsv;") def backwards(self, orm):