mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-13 07:14:10 +00:00
3 lines
226 B
SQL
3 lines
226 B
SQL
CREATE INDEX IF NOT EXISTS i_msg_1 ON message(contentTopic ASC, pubsubTopic ASC, senderTimestamp ASC, id ASC);
|
|
CREATE INDEX IF NOT EXISTS i_msg_2 ON message(contentTopic DESC, pubsubTopic DESC, senderTimestamp DESC, id DESC);
|