aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-07 13:11:12 -0700
committerAdam Soltys <[email protected]>2022-09-07 13:11:12 -0700
commit06b59b585ac9af7be106b9c1271d251ba20f6630 (patch)
treed01db8fa25ade19c534f9ac34b11c3bff1ac507d /db
parentca5ccaf2deeba7eda2c16fd1b7d33aa4c25e960f (diff)
downloadcoinos-server-06b59b585ac9af7be106b9c1271d251ba20f6630.tar.gz
coinos-server-06b59b585ac9af7be106b9c1271d251ba20f6630.zip
clean up
Diffstat (limited to 'db')
-rw-r--r--db/models/users.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/db/models/users.js b/db/models/users.js
index c17805e4..cfd31cb7 100644
--- a/db/models/users.js
+++ b/db/models/users.js
@@ -20,6 +20,24 @@ const attributes = {
comment: null,
field: "address"
},
+ profile: {
+ type: DataTypes.BOOLEAN,
+ allowNull: true,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "profile"
+ },
+ banner: {
+ type: DataTypes.BOOLEAN,
+ allowNull: true,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "banner"
+ },
admin: {
type: DataTypes.BOOLEAN,
allowNull: true,