from south.db import db\r
from south.v2 import SchemaMigration\r
from django.db import models\r
+from django.conf import settings\r
\r
class Migration(SchemaMigration):\r
\r
\r
# 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
+\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