mirror of
https://github.com/logos-messaging/logos-messaging-go-bindings.git
synced 2026-02-27 00:33:22 +00:00
git-subtree-dir: third-party/nwaku git-subtree-split: d94cb7c73631ffd4b934839ba58bc622d331a135
12 lines
270 B
SQL
12 lines
270 B
SQL
ALTER TABLE message RENAME COLUMN receiverTimestamp TO storedAt;
|
|
|
|
|
|
DROP INDEX IF EXISTS i_msg;
|
|
|
|
CREATE INDEX IF NOT EXISTS i_query ON message (contentTopic, pubsubTopic, storedAt, id);
|
|
|
|
|
|
DROP INDEX IF EXISTS i_rt;
|
|
|
|
CREATE INDEX IF NOT EXISTS i_ts ON message (storedAt);
|