mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
added isSynced to sync table to allow forward compatibility with 0.41
This commit is contained in:
@@ -546,7 +546,7 @@ class ConsistencyChecks {
|
||||
${entityName}
|
||||
LEFT JOIN sync ON sync.entityName = '${entityName}' AND entityId = ${key}
|
||||
WHERE
|
||||
sync.id IS NULL AND ` + (entityName === 'options' ? 'isSynced = 1' : '1'),
|
||||
sync.id IS NULL AND ` + (entityName === 'options' ? 'options.isSynced = 1' : '1'),
|
||||
async ({entityId}) => {
|
||||
if (this.autoFix) {
|
||||
await syncTableService.addEntitySync(entityName, entityId);
|
||||
|
||||
Reference in New Issue
Block a user