mirror of
https://github.com/zadam/trilium.git
synced 2025-11-05 04:45:47 +01:00
blob WIP
This commit is contained in:
@@ -217,7 +217,7 @@ class ConsistencyChecks {
|
||||
this.findAndFixIssues(`
|
||||
SELECT noteAttachmentId, note_attachments.noteId AS noteId
|
||||
FROM note_attachments
|
||||
LEFT JOIN notes USING (noteId)
|
||||
LEFT JOIN notes ON notes.noteId = note_attachments.parentId
|
||||
WHERE notes.noteId IS NULL
|
||||
AND note_attachments.isDeleted = 0`,
|
||||
({noteAttachmentId, noteId}) => {
|
||||
|
||||
Reference in New Issue
Block a user