mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-09 14:26:27 +00:00
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);
|