mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 06:23:10 +00:00
13 lines
376 B
Nim
13 lines
376 B
Nim
|
|
const ContentScriptVersion_6* =
|
||
|
|
"""
|
||
|
|
-- we can drop the timestamp column because this data is also kept in the storedAt column
|
||
|
|
ALTER TABLE messages DROP COLUMN timestamp;
|
||
|
|
|
||
|
|
-- from now on we are only interested in the message timestamp
|
||
|
|
ALTER TABLE messages RENAME COLUMN storedAt TO timestamp;
|
||
|
|
|
||
|
|
-- Update to new version
|
||
|
|
UPDATE version SET version = 6 WHERE version = 5;
|
||
|
|
|
||
|
|
"""
|