store "openTabs" session

This commit is contained in:
zadam
2019-05-10 21:43:40 +02:00
parent 89d4be504d
commit be68391c37
10 changed files with 118 additions and 45 deletions
@@ -0,0 +1,4 @@
INSERT INTO options (name, value, utcDateCreated, utcDateModified, isSynced)
SELECT 'openTabs', '[{"notePath":"' || value || '","active": true}]', '2019-05-01T18:31:00.874Z', '2019-05-01T18:31:00.874Z', 0 FROM options WHERE name = 'startNotePath';
DELETE FROM options WHERE name = 'startNotePath';