mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
initialization and schema fixes, closes #111
This commit is contained in:
@@ -5,8 +5,8 @@ const dateUtils = require('../services/date_utils');
|
||||
|
||||
class Option extends Entity {
|
||||
static get tableName() { return "options"; }
|
||||
static get primaryKeyName() { return "name"; }
|
||||
static get hashedProperties() { return ["name", "value"]; }
|
||||
static get primaryKeyName() { return "optionId"; }
|
||||
static get hashedProperties() { return ["optionId", "name", "value"]; }
|
||||
|
||||
beforeSaving() {
|
||||
super.beforeSaving();
|
||||
|
||||
Reference in New Issue
Block a user