mautrix-whatsapp/database/upgrades/57-message-timestamp-index.sql
2023-06-16 12:58:57 +03:00

2 lines
184 B
SQL

-- v57 (compatible with v45+): Add index for message timestamp to make read receipt handling faster
CREATE INDEX message_timestamp_idx ON message (chat_jid, chat_receiver, timestamp);