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
db migration fix
zadam5e6d2c83365e
diff --git a/db/migrations/0181__fix_entityChanges_isSynced.sql b/db/migrations/0181__fix_entityChanges_isSynced.sqlindex 22a933b03d..cb80a982fc 100644--- a/db/migrations/0181__fix_entityChanges_isSynced.sql+++ b/db/migrations/0181__fix_entityChanges_isSynced.sql@@ -1,5 +1,5 @@-UPDATE entity_changes SET isSynced = (+UPDATE entity_changes SET isSynced = COALESCE((SELECT options.isSyncedFROM optionsWHERE options.name = entity_changes.entityId-) WHERE entityName = 'options';+), 0) WHERE entityName = 'options';