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