diff --git a/notifications/base/models.py b/notifications/base/models.py index 3555d9fb1..f09ae2fe7 100644 --- a/notifications/base/models.py +++ b/notifications/base/models.py @@ -216,8 +216,6 @@ class AbstractNotification(models.Model): class Meta: abstract = True ordering = ("-timestamp",) - # speed up notifications count query - # index_together = ("recipient", "unread") indexes = [ models.Index(fields=["recipient", "unread"]), ]