tree context menu to convert notes into attachments

This commit is contained in:
zadam
2023-05-02 23:04:41 +02:00
parent 735ac55bb8
commit d232694dec
3 changed files with 29 additions and 2 deletions

View File

@@ -874,7 +874,7 @@ function eraseAttachments(attachmentIdsToErase) {
function eraseUnusedBlobs() {
const unusedBlobIds = sql.getColumn(`
SELECT blobId
SELECT blobs.blobId
FROM blobs
LEFT JOIN notes ON notes.blobId = blobs.blobId
LEFT JOIN attachments ON attachments.blobId = blobs.blobId