mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 01:57:07 +02:00
fix migration
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
DELETE FROM branches WHERE noteId = '_share' AND parentNoteId != 'root'; -- delete all other branches of _share if any
|
||||
DELETE FROM branches WHERE noteId = '_share' AND parentNoteId != 'root' AND parentNoteId != '_hidden'; -- delete all other branches of _share if any
|
||||
UPDATE branches SET parentNoteId = '_hidden' WHERE noteId = '_share';
|
||||
|
||||
Reference in New Issue
Block a user