Skip to content

Build your personal knowledge base with Trilium Notes

added sync fill for note_contents

zadam64974d75d5ba
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 0000000000..3984919dad
--- /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 5c9d922d80..7396fceb4d 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 = {