Skip to content

Commit

Permalink
Remove old constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl committed Nov 5, 2024
1 parent 0a425da commit 12c4c57
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion inbox/models/backends/imap.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ def categories(self) -> Set[Category]:
return categories

__table_args__ = (
UniqueConstraint("folder_id", "msg_uid", "account_id"),
# This index is used to quickly retrieve IMAP uids
# in local_uids and lastseenuid functions.
# Those queries consistently stay in top 5 most busy SELECTs
Expand Down

0 comments on commit 12c4c57

Please sign in to comment.