cleanup of hidden notes

This commit is contained in:
zadam
2022-11-06 15:18:32 +01:00
parent 3122d0cc6b
commit c92b451033
9 changed files with 27 additions and 21 deletions

View File

@@ -140,7 +140,7 @@ class ConsistencyChecks {
});
this.findAndFixIssues(`
SELECT branchId, branches.noteId AS parentNoteId
SELECT branchId, branches.parentNoteId AS parentNoteId
FROM branches
LEFT JOIN notes ON notes.noteId = branches.parentNoteId
WHERE branches.isDeleted = 0