From 7e374e795b579dd14772eb0e1db5259b605f9771 Mon Sep 17 00:00:00 2001 From: zadam Date: Sat, 13 Apr 2019 10:30:16 +0200 Subject: [PATCH] fill sync rows to fix sync issues --- db/migrations/0132__fill_sync.js | 5 +++++ src/services/app_info.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 db/migrations/0132__fill_sync.js diff --git a/db/migrations/0132__fill_sync.js b/db/migrations/0132__fill_sync.js new file mode 100644 index 000000000..a7a769853 --- /dev/null +++ b/db/migrations/0132__fill_sync.js @@ -0,0 +1,5 @@ +const syncTableService = require('../../src/services/sync_table'); + +module.exports = async () => { + await syncTableService.fillAllSyncRows(); +}; \ No newline at end of file diff --git a/src/services/app_info.js b/src/services/app_info.js index 35529eb66..8677f0c62 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 = 131; +const APP_DB_VERSION = 132; const SYNC_VERSION = 8; module.exports = {