aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/models/users.js9
-rw-r--r--lib/whitelist.js5
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"
];