X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/c3d66e36e08b517f61b7f720e4a3b5a75f202cb6..350cd92dbbaefd12c0df8336c19e5eb39f77640a:/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 799e13a..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,9 +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: - 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):