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
fixed saved note migration - need to be migrated as last, #1647
zadam5542c9dc5769
diff --git a/db/migrations/0172__migrate_saved_search_notes.js b/db/migrations/0183__migrate_saved_search_notes.jssimilarity index 91%rename from db/migrations/0172__migrate_saved_search_notes.jsrename to db/migrations/0183__migrate_saved_search_notes.jsindex 833fba3854..4cd7d4968d 100644--- a/db/migrations/0172__migrate_saved_search_notes.js+++ b/db/migrations/0183__migrate_saved_search_notes.js@@ -15,6 +15,8 @@ module.exports = () => {note.mime = 'text/plain';note.save();++ console.log(`Migrated search note ${note.noteId}`);}catch (e) {console.log(`Changing note content for note ${note.noteId} failed with: ${e.message} ${e.stack}`);diff --git a/src/services/app_info.js b/src/services/app_info.jsindex b3fcd9a734..ecd44e059e 100644--- a/src/services/app_info.js+++ b/src/services/app_info.js@@ -4,7 +4,7 @@ const build = require('./build');const packageJson = require('../../package');const {TRILIUM_DATA_DIR} = require('./data_dir');-const APP_DB_VERSION = 182;+const APP_DB_VERSION = 183;const SYNC_VERSION = 20;const CLIPPER_PROTOCOL_VERSION = "1.0";