Merge remote-tracking branch 'origin/stable'

This commit is contained in:
zadam
2020-03-09 21:00:38 +01:00
7 changed files with 30 additions and 7 deletions

View File

@@ -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);