refactoring

This commit is contained in:
azivner
2018-05-22 22:22:15 -04:00
parent 94dabb81f6
commit 0ce5caefe8
10 changed files with 11 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ const Entity = require('./entity');
class RecentNote extends Entity {
static get tableName() { return "recent_notes"; }
static get primaryKeyName() { return "branchId"; }
static get syncedProperties() { return ["branchId", "notePath", "dateAccessed", "isDeleted"]; }
static get hashedProperties() { return ["branchId", "notePath", "dateAccessed", "isDeleted"]; }
}
module.exports = RecentNote;