Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
set last synced push to avoid full sync after DB upgrade
azivner206a6dd6e7f2
diff --git a/migrations/0055__set_last_synced_push.sql b/migrations/0055__set_last_synced_push.sqlnew file mode 100644index 0000000000..6c5ab9c840--- /dev/null+++ b/migrations/0055__set_last_synced_push.sql@@ -0,0 +1 @@+UPDATE options SET opt_value = (SELECT MAX(id) FROM sync) WHERE opt_name = 'last_synced_push';\ No newline at end of filediff --git a/services/app_info.js b/services/app_info.jsindex 58ef0cc55b..203e7d43ba 100644--- a/services/app_info.js+++ b/services/app_info.js@@ -3,7 +3,7 @@const build = require('./build');const packageJson = require('../package');-const APP_DB_VERSION = 54;+const APP_DB_VERSION = 55;module.exports = {app_version: packageJson.version,