mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
more becca changes
This commit is contained in:
@@ -164,6 +164,12 @@ class Attribute extends AbstractEntity {
|
||||
utcDateModified: this.utcDateModified
|
||||
});
|
||||
}
|
||||
|
||||
markAttributeAsDeleted() {
|
||||
sql.execute("UPDATE attributes SET isDeleted = 1 WHERE attributeId = ?", [this.attributeId]);
|
||||
|
||||
// FIXME: this needs to be published into entity_changes (for sync and becca cleanup)
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Attribute;
|
||||
|
||||
Reference in New Issue
Block a user