mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
renaming attributes to labels, fixes #79
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
const Entity = require('./entity');
|
||||
|
||||
class Attribute extends Entity {
|
||||
static get tableName() { return "attributes"; }
|
||||
static get primaryKeyName() { return "attributeId"; }
|
||||
|
||||
async getNote() {
|
||||
return this.repository.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Attribute;
|
||||
Reference in New Issue
Block a user