From 64974d75d5ba1c0cdab9a0caf421bbeb63e84f66 Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 2 Mar 2019 19:59:32 +0100 Subject: [PATCH] added sync fill for note_contents --- db/migrations/0126__fill_sync_for_note_contents.sql | 2 ++ src/services/app_info.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 db/migrations/0126__fill_sync_for_note_contents.sql diff --git a/db/migrations/0126__fill_sync_for_note_contents.sql b/db/migrations/0126__fill_sync_for_note_contents.sql new file mode 100644 index 000000000..3984919da --- /dev/null +++ b/db/migrations/0126__fill_sync_for_note_contents.sql @@ -0,0 +1,2 @@ +INSERT OR REPLACE INTO sync (entityName, entityId, sourceId, syncDate) +SELECT 'note_contents', noteContentId, '', '2019-03-02T18:07:29.182Z' FROM note_contents; \ No newline at end of file diff --git a/src/services/app_info.js b/src/services/app_info.js index 5c9d922d8..7396fceb4 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 = 125; +const APP_DB_VERSION = 126; const SYNC_VERSION = 6; module.exports = {