From 991d15615e057cbbbefacb44c2217f8356e131ab Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Fri, 11 Jun 2021 14:35:13 +0200 Subject: [PATCH] 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) --- src/sql/migrations.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sql/migrations.rs b/src/sql/migrations.rs index 1f5e168b9..c14054061 100644 --- a/src/sql/migrations.rs +++ b/src/sql/migrations.rs @@ -167,7 +167,7 @@ CREATE TABLE tokens ( ALTER TABLE acpeerstates ADD COLUMN verified_key; ALTER TABLE acpeerstates ADD COLUMN verified_key_fingerprint TEXT DEFAULT ''; CREATE INDEX acpeerstates_index5 ON acpeerstates (verified_key_fingerprint);"#, - 38, + 39, ) .await?; } @@ -454,7 +454,7 @@ paramsv![] info!(context, "[migration] v75"); sql.execute_migration( "ALTER TABLE contacts ADD COLUMN status TEXT DEFAULT '';", - 74, + 75, ) .await?; }