dont enable fulltext index by default, only used with GIN enabled

This commit is contained in:
j 2013-06-06 07:35:52 +00:00
parent c0e31e03f2
commit 4d9635ab70
5 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ class Migration(SchemaMigration):
('lightness', self.gf('django.db.models.fields.FloatField')(default=0, db_index=True)), ('lightness', self.gf('django.db.models.fields.FloatField')(default=0, db_index=True)),
('volume', self.gf('django.db.models.fields.FloatField')(default=0, null=True, db_index=True)), ('volume', self.gf('django.db.models.fields.FloatField')(default=0, null=True, db_index=True)),
('sortvalue', self.gf('django.db.models.fields.CharField')(max_length=1000, null=True, db_index=True)), ('sortvalue', self.gf('django.db.models.fields.CharField')(max_length=1000, null=True, db_index=True)),
('findvalue', self.gf('django.db.models.fields.TextField')(null=True, db_index=True)), ('findvalue', self.gf('django.db.models.fields.TextField')(null=True, db_index=False)),
('subtitles', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)), ('subtitles', self.gf('django.db.models.fields.BooleanField')(default=False, db_index=True)),
)) ))
db.send_create_signal('clip', ['Clip']) db.send_create_signal('clip', ['Clip'])
@ -188,4 +188,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['clip'] complete_apps = ['clip']

View file

@ -51,7 +51,7 @@ class Migration(SchemaMigration):
('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)), ('id', self.gf('django.db.models.fields.AutoField')(primary_key=True)),
('item', self.gf('django.db.models.fields.related.ForeignKey')(related_name='find', to=orm['item.Item'])), ('item', self.gf('django.db.models.fields.related.ForeignKey')(related_name='find', to=orm['item.Item'])),
('key', self.gf('django.db.models.fields.CharField')(max_length=200, db_index=True)), ('key', self.gf('django.db.models.fields.CharField')(max_length=200, db_index=True)),
('value', self.gf('django.db.models.fields.TextField')(db_index=True, blank=True)), ('value', self.gf('django.db.models.fields.TextField')(db_index=True, blank=False)),
)) ))
db.send_create_signal('item', ['ItemFind']) db.send_create_signal('item', ['ItemFind'])

View file

@ -104,7 +104,7 @@ class Migration(DataMigration):
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'item': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'find'", 'to': "orm['item.Item']"}), 'item': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'find'", 'to': "orm['item.Item']"}),
'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'db_index': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'db_index': 'True'}),
'value': ('django.db.models.fields.TextField', [], {'db_index': 'True', 'blank': 'True'}) 'value': ('django.db.models.fields.TextField', [], {'db_index': 'False', 'blank': 'True'})
}, },
'item.itemsort': { 'item.itemsort': {
'Meta': {'object_name': 'ItemSort'}, 'Meta': {'object_name': 'ItemSort'},

View file

@ -104,7 +104,7 @@ class Migration(DataMigration):
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'item': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'find'", 'to': "orm['item.Item']"}), 'item': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'find'", 'to': "orm['item.Item']"}),
'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'db_index': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'db_index': 'True'}),
'value': ('django.db.models.fields.TextField', [], {'db_index': 'True', 'blank': 'True'}) 'value': ('django.db.models.fields.TextField', [], {'db_index': 'False', 'blank': 'True'})
}, },
'item.itemsort': { 'item.itemsort': {
'Meta': {'object_name': 'ItemSort'}, 'Meta': {'object_name': 'ItemSort'},

View file

@ -108,7 +108,7 @@ class Migration(SchemaMigration):
'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}), 'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
'item': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'find'", 'to': "orm['item.Item']"}), 'item': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'find'", 'to': "orm['item.Item']"}),
'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'db_index': 'True'}), 'key': ('django.db.models.fields.CharField', [], {'max_length': '200', 'db_index': 'True'}),
'value': ('django.db.models.fields.TextField', [], {'db_index': 'True', 'blank': 'True'}) 'value': ('django.db.models.fields.TextField', [], {'db_index': 'False', 'blank': 'True'})
}, },
'item.itemsort': { 'item.itemsort': {
'Meta': {'object_name': 'ItemSort'}, 'Meta': {'object_name': 'ItemSort'},
@ -160,4 +160,4 @@ class Migration(SchemaMigration):
} }
} }
complete_apps = ['item'] complete_apps = ['item']