Added a cersion bump of the DB schema to prevent failed downgrades.

This commit is contained in:
Kenneth Skovhede
2024-08-21 11:59:52 +02:00
parent b114380547
commit 4a5ccb623e
2 changed files with 7 additions and 1 deletions
@@ -0,0 +1,6 @@
/*
This update does nothing but the user cannot really downgrade,
because the fields that are encrypted cannot be read by the previous version.
*/
SELECT COUNT(*) FROM "Notification";
@@ -164,5 +164,5 @@ CREATE TABLE "TokenFamily" (
"LastUpdated" INTEGER NOT NULL
);
INSERT INTO "Version" ("Version") VALUES (7);
INSERT INTO "Version" ("Version") VALUES (8);