mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
migration comments
This commit is contained in:
parent
8c4dda45ef
commit
7c6d67f1ad
@ -1,3 +1,4 @@
|
|||||||
UPDATE branches SET branchId = 'search' WHERE parentNoteId = 'hidden' AND noteId = 'search';
|
UPDATE branches SET branchId = 'search' WHERE parentNoteId = 'hidden' AND noteId = 'search';
|
||||||
|
-- the IDs are renamed in the 0199 migration
|
||||||
UPDATE branches SET branchId = 'globalnotemap' WHERE parentNoteId = 'singles' AND noteId = 'globalnotemap';
|
UPDATE branches SET branchId = 'globalnotemap' WHERE parentNoteId = 'singles' AND noteId = 'globalnotemap';
|
||||||
UPDATE branches SET branchId = 'sqlconsole' WHERE parentNoteId = 'hidden' AND noteId = 'sqlconsole';
|
UPDATE branches SET branchId = 'sqlconsole' WHERE parentNoteId = 'hidden' AND noteId = 'sqlconsole';
|
||||||
|
@ -5,7 +5,8 @@ module.exports = () => {
|
|||||||
|
|
||||||
cls.init(() => {
|
cls.init(() => {
|
||||||
beccaLoader.load();
|
beccaLoader.load();
|
||||||
// create it because it subsequent migrations we will move some existing notes into it (share...)
|
// make sure the hidden subtree exists since the subsequent migrations we will move some existing notes into it (share...)
|
||||||
|
// in previous releases hidden subtree was created lazily
|
||||||
hiddenSubtreeService.checkHiddenSubtree();
|
hiddenSubtreeService.checkHiddenSubtree();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user