added hash columns for faster sync check calculation

This commit is contained in:
azivner
2018-05-22 00:15:54 -04:00
parent 9fa6c0918c
commit 49a53f7a45
13 changed files with 61 additions and 102 deletions

View File

@@ -8,6 +8,7 @@ const dateUtils = require('../services/date_utils');
class Note extends Entity {
static get tableName() { return "notes"; }
static get primaryKeyName() { return "noteId"; }
static get syncedProperties() { return ["noteId", "title", "content", "type", "dateModified", "isProtected", "isDeleted"]; }
constructor(row) {
super(row);