mirror of
https://github.com/zadam/trilium.git
synced 2024-11-12 10:44:42 +08:00
5 lines
175 B
MySQL
5 lines
175 B
MySQL
|
UPDATE sync SET isSynced = 1 WHERE entityName != 'options' OR (
|
||
|
entityName = 'options'
|
||
|
AND 1 = (SELECT isSynced FROM options WHERE name = sync.entityId)
|
||
|
)
|