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:
B. Petersen
2021-06-11 14:35:13 +02:00
committed by bjoern
parent 5dee1efa59
commit 991d15615e

View File

@@ -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?;
} }