mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
fix: db migration version 59, it contained an sql syntax error
This commit is contained in:
@@ -267,7 +267,7 @@ CREATE INDEX msgs_index6 ON msgs (location_id);"#,
|
|||||||
// so, msg_id may or may not exist.
|
// so, msg_id may or may not exist.
|
||||||
sql.execute_migration(
|
sql.execute_migration(
|
||||||
r#"
|
r#"
|
||||||
CREATE TABLE devmsglabels (id INTEGER PRIMARY KEY AUTOINCREMENT, label TEXT, msg_id INTEGER DEFAULT 0);",
|
CREATE TABLE devmsglabels (id INTEGER PRIMARY KEY AUTOINCREMENT, label TEXT, msg_id INTEGER DEFAULT 0);
|
||||||
CREATE INDEX devmsglabels_index1 ON devmsglabels (label);"#, 59)
|
CREATE INDEX devmsglabels_index1 ON devmsglabels (label);"#, 59)
|
||||||
.await?;
|
.await?;
|
||||||
if exists_before_update && sql.get_raw_config_int("bcc_self").await?.is_none() {
|
if exists_before_update && sql.get_raw_config_int("bcc_self").await?.is_none() {
|
||||||
|
|||||||
Reference in New Issue
Block a user