Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix migration of bookmarks to also migrate bookmarkFolder #3514
zadame7b3c3239b5b
diff --git a/db/migrations/0204__migrate_bookmarks_to_clones.js b/db/migrations/0204__migrate_bookmarks_to_clones.jsindex 82cc11ebeb..6b180a4460 100644--- a/db/migrations/0204__migrate_bookmarks_to_clones.js+++ b/db/migrations/0204__migrate_bookmarks_to_clones.js@@ -12,5 +12,10 @@ module.exports = () => {attr.markAsDeleted("0204__migrate_bookmarks_to_clones");}++ // bookmarkFolder used to work in 0.57 without the bookmarked label+ for (const attr of becca.findAttributes('label','bookmarkFolder')) {+ cloningService.toggleNoteInParent(true, attr.noteId, '_lbBookmarks');+ }});};