Skip to content

Build your personal knowledge base with Trilium Notes

fill sync rows to fix sync issues

zadam7e374e795b57
diff --git a/db/migrations/0132__fill_sync.js b/db/migrations/0132__fill_sync.js
new file mode 100644
index 0000000000..a7a7698531
--- /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 35529eb66b..8677f0c629 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 = {