mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
added hash columns for faster sync check calculation
This commit is contained in:
@@ -8,6 +8,7 @@ const sql = require('../services/sql');
|
||||
class Branch extends Entity {
|
||||
static get tableName() { return "branches"; }
|
||||
static get primaryKeyName() { return "branchId"; }
|
||||
static get syncedProperties() { return ["branchId", "noteId", "parentNoteId", "notePosition", "dateModified", "isDeleted", "prefix"]; }
|
||||
|
||||
async getNote() {
|
||||
return await repository.getEntity("SELECT * FROM notes WHERE noteId = ?", [this.noteId]);
|
||||
|
||||
Reference in New Issue
Block a user