mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
improvements
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = () => {
|
||||
beccaLoader.load();
|
||||
|
||||
for (const attr of becca.findAttributes('label','bookmarked')) {
|
||||
cloningService.toggleNoteInParent(true, attr.noteId, 'lb_bookmarks');
|
||||
cloningService.toggleNoteInParent(true, attr.noteId, 'lbBookmarks');
|
||||
|
||||
attr.markAsDeleted("0204__migrate_bookmarks_to_clones");
|
||||
}
|
||||
|
||||
@@ -6,6 +6,10 @@ UPDATE branches SET branchId = 'globalNoteMap' WHERE branchId = 'globalnotemap';
|
||||
UPDATE branches SET branchId = 'bulkAction' WHERE branchId = 'bulkaction';
|
||||
UPDATE branches SET branchId = 'sqlConsole' WHERE branchId = 'sqlconsole';
|
||||
|
||||
UPDATE branches SET noteId = 'globalNoteMap' WHERE noteId = 'globalnotemap';
|
||||
UPDATE branches SET noteId = 'bulkAction' WHERE noteId = 'bulkaction';
|
||||
UPDATE branches SET noteId = 'sqlConsole' WHERE noteId = 'sqlconsole';
|
||||
|
||||
UPDATE branches SET parentNoteId = 'globalNoteMap' WHERE parentNoteId = 'globalnotemap';
|
||||
UPDATE branches SET parentNoteId = 'bulkAction' WHERE parentNoteId = 'bulkaction';
|
||||
UPDATE branches SET parentNoteId = 'sqlConsole' WHERE parentNoteId = 'sqlconsole';
|
||||
@@ -13,3 +17,11 @@ UPDATE branches SET parentNoteId = 'sqlConsole' WHERE parentNoteId = 'sqlconsole
|
||||
UPDATE attributes SET noteId = 'globalNoteMap' WHERE noteId = 'globalnotemap';
|
||||
UPDATE attributes SET noteId = 'bulkAction' WHERE noteId = 'bulkaction';
|
||||
UPDATE attributes SET noteId = 'sqlConsole' WHERE noteId = 'sqlconsole';
|
||||
|
||||
UPDATE attributes SET value = 'globalNoteMap' WHERE type = 'relation' AND value = 'globalnotemap';
|
||||
UPDATE attributes SET value = 'bulkAction' WHERE type = 'relation' AND value = 'bulkaction';
|
||||
UPDATE attributes SET value = 'sqlConsole' WHERE type = 'relation' AND value = 'sqlconsole';
|
||||
|
||||
UPDATE entity_changes SET entityId = 'globalNoteMap' WHERE entityId = 'globalnotemap';
|
||||
UPDATE entity_changes SET entityId = 'bulkAction' WHERE entityId = 'bulkaction';
|
||||
UPDATE entity_changes SET entityId = 'sqlConsole' WHERE entityId = 'sqlconsole';
|
||||
|
||||
Reference in New Issue
Block a user