mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
6 lines
212 B
MySQL
6 lines
212 B
MySQL
|
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);
|