diff options
Diffstat (limited to 'pgcommitfest/commitfest/models.py')
-rw-r--r-- | pgcommitfest/commitfest/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pgcommitfest/commitfest/models.py b/pgcommitfest/commitfest/models.py index cb1c1dc..f061ff2 100644 --- a/pgcommitfest/commitfest/models.py +++ b/pgcommitfest/commitfest/models.py @@ -223,7 +223,7 @@ class PatchOnCommitFest(models.Model): class PatchHistory(models.Model): patch = models.ForeignKey(Patch, blank=False, null=False) - date = models.DateTimeField(blank=False, null=False, auto_now_add=True) + date = models.DateTimeField(blank=False, null=False, auto_now_add=True, db_index=True) by = models.ForeignKey(User, blank=False, null=False) what = models.CharField(max_length=500, null=False, blank=False) |