mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
update schema -> fix creating new database from scratch
This commit is contained in:
@@ -26,6 +26,10 @@ class Option extends Entity {
|
||||
}
|
||||
|
||||
beforeSaving() {
|
||||
if (!this.utcDateCreated) {
|
||||
this.utcDateCreated = dateUtils.utcNowDateTime();
|
||||
}
|
||||
|
||||
super.beforeSaving();
|
||||
|
||||
if (this.isChanged) {
|
||||
|
||||
Reference in New Issue
Block a user