trilium/db/migrations/0134__create_openTabs_option.sql

4 lines
317 B
MySQL
Raw Normal View History

2019-05-11 03:43:40 +08:00
INSERT INTO options (name, value, utcDateCreated, utcDateModified, isSynced)
2019-05-15 04:29:47 +08:00
SELECT 'openTabs', '[{"notePath":"' || value || '","active": true,"tabId":"1111"}]', '2019-05-01T18:31:00.874Z', '2019-05-01T18:31:00.874Z', 0 FROM options WHERE name = 'startNotePath';
2019-05-11 03:43:40 +08:00
DELETE FROM options WHERE name = 'startNotePath';