From 4b4771ff1c661a71f23fba1f8dee3f1a72d0fb2d Mon Sep 17 00:00:00 2001 From: Horilla Date: Fri, 7 Nov 2025 14:05:29 +0530 Subject: [PATCH] [UPDT] NOTIFICATIONS: Updated notification model class Meta --- notifications/base/models.py | 2 -- 1 file changed, 2 deletions(-) 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"]), ]