mirror of
https://github.com/chatmail/core.git
synced 2026-05-24 17:26:30 +03:00
fix: sql syntax error in db migration 27
This commit is contained in:
@@ -137,9 +137,9 @@ ALTER TABLE acpeerstates ADD COLUMN gossip_key;"#,
|
|||||||
// the current ones are defined by chats.blocked=2
|
// the current ones are defined by chats.blocked=2
|
||||||
sql.execute_migration(
|
sql.execute_migration(
|
||||||
r#"
|
r#"
|
||||||
DELETE FROM msgs WHERE chat_id=1 OR chat_id=2;"
|
DELETE FROM msgs WHERE chat_id=1 OR chat_id=2;
|
||||||
CREATE INDEX chats_contacts_index2 ON chats_contacts (contact_id);"
|
CREATE INDEX chats_contacts_index2 ON chats_contacts (contact_id);
|
||||||
ALTER TABLE msgs ADD COLUMN timestamp_sent INTEGER DEFAULT 0;")
|
ALTER TABLE msgs ADD COLUMN timestamp_sent INTEGER DEFAULT 0;
|
||||||
ALTER TABLE msgs ADD COLUMN timestamp_rcvd INTEGER DEFAULT 0;"#,
|
ALTER TABLE msgs ADD COLUMN timestamp_rcvd INTEGER DEFAULT 0;"#,
|
||||||
27,
|
27,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user