Skip to content

Commit fd0b52d

Browse files
committed
Add db_index to IdApprovedDetail.filename too
- Legacy-Id: 3871
1 parent 172f209 commit fd0b52d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/submit/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def create_submission_hash(sender, instance, **kwargs):
7979
models.signals.pre_save.connect(create_submission_hash, sender=IdSubmissionDetail)
8080

8181
class IdApprovedDetail(models.Model):
82-
filename = models.CharField(null=True, blank=True, max_length=255)
82+
filename = models.CharField(null=True, blank=True, max_length=255, db_index=True)
8383
approved_status = models.IntegerField(null=True, blank=True)
8484
approved_person_tag = models.IntegerField(null=True, blank=True)
8585
approved_date = models.DateField(null=True, blank=True)

0 commit comments

Comments
 (0)