fixed saved note migration - need to be migrated as last, #1647

This commit is contained in:
zadam 2021-02-16 21:40:17 +01:00
parent 2388da7cfb
commit 5542c9dc57
2 changed files with 3 additions and 1 deletions

View file

@ -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}`);

View file

@ -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";