trilium/db/migrations/0201__set_branch_id_in_hidden_subtree.sql

4 lines
301 B
MySQL
Raw Normal View History

2022-11-06 22:18:32 +08:00
UPDATE branches SET branchId = 'search' WHERE parentNoteId = 'hidden' AND noteId = 'search';
UPDATE branches SET branchId = 'globalnotemap' WHERE parentNoteId = 'hidden' AND noteId = 'globalnotemap';
UPDATE branches SET branchId = 'sqlconsole' WHERE parentNoteId = 'hidden' AND noteId = 'sqlconsole';