aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-08-11 14:18:18 -0700
committerAdam Soltys <[email protected]>2020-08-11 14:18:18 -0700
commitb2208797d3c5559c7e8cc7d35b7a020da0c61193 (patch)
tree766f8c595efa2a323b8acff89fcb1b73430c5a88 /db/models
parent10bfc37a656e9862051a6a58ea2acdc561092f6b (diff)
downloadcoinos-server-b2208797d3c5559c7e8cc7d35b7a020da0c61193.tar.gz
coinos-server-b2208797d3c5559c7e8cc7d35b7a020da0c61193.zip
account archive toggle
Diffstat (limited to 'db/models')
-rw-r--r--db/models/accounts.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js
index e139956d..89c85ef1 100644
--- a/db/models/accounts.js
+++ b/db/models/accounts.js
@@ -106,6 +106,15 @@ const attributes = {
comment: null,
field: "pending"
},
+ hide: {
+ type: DataTypes.BOOLEAN,
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "hide"
+ },
index: {
type: DataTypes.INTEGER(11),
allowNull: true,