Actually index is not best choice here...
Revert "Add some indices for searching"
This reverts commit 2948feacaf
.
This commit is contained in:
parent
2948feacaf
commit
5fb7afffbd
@ -409,11 +409,11 @@ class Unit(models.Model):
|
|||||||
translation = models.ForeignKey(Translation)
|
translation = models.ForeignKey(Translation)
|
||||||
checksum = models.CharField(max_length = 40, default = '', blank = True, db_index = True)
|
checksum = models.CharField(max_length = 40, default = '', blank = True, db_index = True)
|
||||||
location = models.TextField(default = '', blank = True)
|
location = models.TextField(default = '', blank = True)
|
||||||
context = models.TextField(default = '', blank = True, db_index = True)
|
context = models.TextField(default = '', blank = True)
|
||||||
comment = models.TextField(default = '', blank = True)
|
comment = models.TextField(default = '', blank = True)
|
||||||
flags = models.TextField(default = '', blank = True)
|
flags = models.TextField(default = '', blank = True)
|
||||||
source = models.TextField(db_index = True)
|
source = models.TextField()
|
||||||
target = models.TextField(default = '', blank = True, db_index = True)
|
target = models.TextField(default = '', blank = True)
|
||||||
fuzzy = models.BooleanField(default = False, db_index = True)
|
fuzzy = models.BooleanField(default = False, db_index = True)
|
||||||
translated = models.BooleanField(default = False, db_index = True)
|
translated = models.BooleanField(default = False, db_index = True)
|
||||||
position = models.IntegerField(db_index = True)
|
position = models.IntegerField(db_index = True)
|
||||||
|
Loading…
Reference in New Issue
Block a user