mirror of
https://github.com/status-im/status-go.git
synced 2025-02-07 04:13:56 +00:00
6 lines
212 B
SQL
6 lines
212 B
SQL
DROP INDEX IF EXISTS peersyncing_messages_timestamp;
|
|
|
|
ALTER TABLE peersyncing_messages RENAME COLUMN group_id TO chat_id;
|
|
|
|
CREATE INDEX peersyncing_messages_timestamp ON peersyncing_messages(chat_id, timestamp);
|