mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 08:45:50 +01:00
move entity hash to entity_changes table WIP
This commit is contained in:
@@ -22,11 +22,6 @@ class Entity {
|
||||
|
||||
beforeSaving() {
|
||||
this.generateIdIfNecessary();
|
||||
|
||||
const origHash = this.hash;
|
||||
|
||||
this.hash = this.generateHash();
|
||||
this.isChanged = origHash !== this.hash;
|
||||
}
|
||||
|
||||
generateIdIfNecessary() {
|
||||
|
||||
Reference in New Issue
Block a user