[UPDT] NOTIFICATIONS: Updated notification model class Meta

This commit is contained in:
Horilla
2025-11-07 14:05:29 +05:30
parent 760a5b1c7f
commit 4b4771ff1c

View File

@@ -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"]),
]