mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 23:06:32 +03:00
fix minor dbversion inconsistencies
probably they come in by the latest sqlx<->rusqlite moves, however, as they are followed by subsequent migrations, that should not have been a big bug in the past (maybe unless the app was killed at a bad moment)
This commit is contained in:
@@ -167,7 +167,7 @@ CREATE TABLE tokens (
|
|||||||
ALTER TABLE acpeerstates ADD COLUMN verified_key;
|
ALTER TABLE acpeerstates ADD COLUMN verified_key;
|
||||||
ALTER TABLE acpeerstates ADD COLUMN verified_key_fingerprint TEXT DEFAULT '';
|
ALTER TABLE acpeerstates ADD COLUMN verified_key_fingerprint TEXT DEFAULT '';
|
||||||
CREATE INDEX acpeerstates_index5 ON acpeerstates (verified_key_fingerprint);"#,
|
CREATE INDEX acpeerstates_index5 ON acpeerstates (verified_key_fingerprint);"#,
|
||||||
38,
|
39,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
@@ -454,7 +454,7 @@ paramsv![]
|
|||||||
info!(context, "[migration] v75");
|
info!(context, "[migration] v75");
|
||||||
sql.execute_migration(
|
sql.execute_migration(
|
||||||
"ALTER TABLE contacts ADD COLUMN status TEXT DEFAULT '';",
|
"ALTER TABLE contacts ADD COLUMN status TEXT DEFAULT '';",
|
||||||
74,
|
75,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user