aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-09-20 00:24:10 -0700
committerAdam Soltys <[email protected]>2022-09-20 00:24:19 -0700
commit2b552fdd6eca883ee24d2772e1de24f4bab70202 (patch)
treeaad0230929c37e608723310ced61e0e141c24f33 /db
parentc9a5be7bc9d2fa190903c91ad2f1f408580ce745 (diff)
downloadcoinos-server-2b552fdd6eca883ee24d2772e1de24f4bab70202.tar.gz
coinos-server-2b552fdd6eca883ee24d2772e1de24f4bab70202.zip
theme field
Diffstat (limited to 'db')
-rw-r--r--db/models/users.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/users.js b/db/models/users.js
index cfd31cb7..7cbaf8e6 100644
--- a/db/models/users.js
+++ b/db/models/users.js
@@ -20,6 +20,15 @@ const attributes = {
comment: null,
field: "address"
},
+ theme: {
+ type: DataTypes.STRING,
+ allowNull: true,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "theme"
+ },
profile: {
type: DataTypes.BOOLEAN,
allowNull: true,