mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
better common JS compatibility
This commit is contained in:
@@ -71,15 +71,6 @@ async function runSyncRowChecks(table, key, errorList) {
|
||||
sync.id IS NULL AND ` + (table === 'options' ? 'isSynced = 1' : '1'),
|
||||
`Missing sync records for ${key} in table ${table}`, errorList);
|
||||
|
||||
console.log(`
|
||||
SELECT
|
||||
${key}
|
||||
FROM
|
||||
${table}
|
||||
LEFT JOIN sync ON sync.entityName = '${table}' AND entityId = ${key}
|
||||
WHERE
|
||||
sync.id IS NULL AND ` + (table === 'options' ? 'isSynced = 1' : '1'));
|
||||
|
||||
await runCheck(`
|
||||
SELECT
|
||||
entityId
|
||||
|
||||
Reference in New Issue
Block a user