Indexing reason for the better perf of searching
This commit is contained in:
parent
fe56fb91a4
commit
d2e0c96ce2
@ -23,7 +23,7 @@ class SubscriptionRequestFile(models.Model):
|
|||||||
doc_type = models.CharField(max_length=10, default="")
|
doc_type = models.CharField(max_length=10, default="")
|
||||||
index_in_request = models.IntegerField(default=0) # by doc_type
|
index_in_request = models.IntegerField(default=0) # by doc_type
|
||||||
processing_time = models.FloatField(default=-1) # in milisecond
|
processing_time = models.FloatField(default=-1) # in milisecond
|
||||||
reason = models.TextField(blank=True)
|
reason = models.TextField(blank=True, db_index=True)
|
||||||
counter_measures = models.TextField(blank=True)
|
counter_measures = models.TextField(blank=True)
|
||||||
is_reviewed = models.BooleanField(default=False)
|
is_reviewed = models.BooleanField(default=False)
|
||||||
is_required = models.BooleanField(default=True)
|
is_required = models.BooleanField(default=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user