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

11
src/entities/option.js Normal file
View File

@@ -0,0 +1,11 @@
"use strict";
const Entity = require('./entity');
class Option extends Entity {
static get tableName() { return "options"; }
static get primaryKeyName() { return "name"; }
static get syncedProperties() { return ["name", "value"]; }
}
module.exports = Option;