Skip to content

Commit 12c4c57

Browse files
committed
Remove old constraint
1 parent 0a425da commit 12c4c57

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

inbox/models/backends/imap.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ def categories(self) -> Set[Category]:
216216
return categories
217217

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

0 commit comments

Comments
 (0)