Provide distinct cache directory to the Rust SDK.

This commit is contained in:
Benoit Marty 2024-08-30 18:34:52 +02:00
parent 9f67c65c2c
commit 93cace6954
15 changed files with 153 additions and 39 deletions

View file

@ -25,7 +25,9 @@ CREATE TABLE SessionData (
-- added in version 5
passphrase TEXT,
-- added in version 6
sessionPath TEXT NOT NULL DEFAULT ""
sessionPath TEXT NOT NULL DEFAULT "",
-- added in version 9
cachePath TEXT NOT NULL DEFAULT ""
);

View file

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