mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
renamed attachment's parentId to more fitting ownerId
This commit is contained in:
@@ -100,7 +100,7 @@ class BRevision extends AbstractBeccaEntity {
|
||||
return sql.getRows(`
|
||||
SELECT attachments.*
|
||||
FROM attachments
|
||||
WHERE parentId = ?
|
||||
WHERE ownerId = ?
|
||||
AND isDeleted = 0`, [this.revisionId])
|
||||
.map(row => new BAttachment(row));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user