mirror of
https://github.com/zadam/trilium.git
synced 2025-02-23 22:44:44 +08:00
5 lines
178 B
SQL
5 lines
178 B
SQL
UPDATE entity_changes SET isSynced = COALESCE((
|
|
SELECT options.isSynced
|
|
FROM options
|
|
WHERE options.name = entity_changes.entityId
|
|
), 0) WHERE entityName = 'options';
|