mirror of
https://github.com/zadam/trilium.git
synced 2025-01-01 12:52:17 +08:00
db migration fix
This commit is contained in:
parent
d45a59aa4e
commit
5e6d2c8336
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
UPDATE entity_changes SET isSynced = (
|
||||
UPDATE entity_changes SET isSynced = COALESCE((
|
||||
SELECT options.isSynced
|
||||
FROM options
|
||||
WHERE options.name = entity_changes.entityId
|
||||
) WHERE entityName = 'options';
|
||||
), 0) WHERE entityName = 'options';
|
||||
|
|
Loading…
Reference in a new issue