core: optimize bulk chat item deletion 2 (#1172)

This commit is contained in:
JRoberts
2022-10-05 19:54:28 +04:00
committed by GitHub
parent 22edd92079
commit 135bdf3842
7 changed files with 115 additions and 121 deletions
@@ -426,3 +426,4 @@ CREATE UNIQUE INDEX idx_chat_items_group_shared_msg_id ON chat_items(
group_member_id,
shared_msg_id
);
CREATE INDEX idx_msg_deliveries_message_id ON msg_deliveries(message_id);