Add session path migration to SessionData

This commit is contained in:
Jorge Martín 2024-06-06 16:25:42 +02:00
parent 1a13a591f8
commit 841558c3b4
18 changed files with 117 additions and 41 deletions

View file

@ -23,7 +23,9 @@ CREATE TABLE SessionData (
isTokenValid INTEGER NOT NULL DEFAULT 1,
loginType TEXT,
-- added in version 5
passphrase TEXT
passphrase TEXT,
-- added in version 6
sessionPath TEXT NOT NULL DEFAULT ""
);

View file

@ -0,0 +1,4 @@
-- Migrate DB from version 7
-- Add sessionPath so we can track the anonymized path for the session files dir
ALTER TABLE SessionData ADD COLUMN sessionPath TEXT NOT NULL DEFAULT "";