diff options
| author | Adam Soltys <[email protected]> | 2022-09-20 00:24:10 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-20 00:24:19 -0700 |
| commit | 2b552fdd6eca883ee24d2772e1de24f4bab70202 (patch) | |
| tree | aad0230929c37e608723310ced61e0e141c24f33 | |
| parent | c9a5be7bc9d2fa190903c91ad2f1f408580ce745 (diff) | |
| download | coinos-server-2b552fdd6eca883ee24d2772e1de24f4bab70202.tar.gz coinos-server-2b552fdd6eca883ee24d2772e1de24f4bab70202.zip | |
theme field
| -rw-r--r-- | db/models/users.js | 9 | ||||
| -rw-r--r-- | lib/whitelist.js | 5 |
2 files changed, 13 insertions, 1 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, diff --git a/lib/whitelist.js b/lib/whitelist.js index a5c7a15f..d3e361d1 100644 --- a/lib/whitelist.js +++ b/lib/whitelist.js @@ -16,5 +16,8 @@ export default [ "keys", "index", "verified", - "email" + "email", + "profile", + "banner", + "theme" ]; |
