mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
fix migration to not rely on branchId
This commit is contained in:
@@ -1 +1,2 @@
|
||||
UPDATE branches SET parentNoteId = '_hidden' WHERE branchId = '_share';
|
||||
DELETE FROM branches WHERE noteId = '_share' AND parentNoteId != 'root'; -- delete all other branches of _share if any
|
||||
UPDATE branches SET parentNoteId = '_hidden' WHERE noteId = '_share';
|
||||
|
||||
Reference in New Issue
Block a user