mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
moving isErased into entity_changes
This commit is contained in:
@@ -581,8 +581,9 @@ class ConsistencyChecks {
|
||||
FROM
|
||||
entity_changes
|
||||
LEFT JOIN ${entityName} ON entityId = ${key}
|
||||
WHERE
|
||||
entity_changes.entityName = '${entityName}'
|
||||
WHERE
|
||||
entity_changes.isErased = 0
|
||||
AND entity_changes.entityName = '${entityName}'
|
||||
AND ${key} IS NULL`,
|
||||
({id, entityId}) => {
|
||||
if (this.autoFix) {
|
||||
|
||||
Reference in New Issue
Block a user