aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRan Guin <[email protected]>2021-05-15 12:14:54 -0700
committerAdam Soltys <[email protected]>2021-06-09 16:05:31 -0700
commitac9572909ccf0f8725020446723342d5a3bcbce5 (patch)
treef8c7def4f53b2f7eb83a40a16d09108460318fdf
parent2b0879f1831855d0f7260e35acd0f6a20fcd28cb (diff)
downloadcoinos-server-ac9572909ccf0f8725020446723342d5a3bcbce5.tar.gz
coinos-server-ac9572909ccf0f8725020446723342d5a3bcbce5.zip
add email & sms to user model
-rw-r--r--db/models/users.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/models/users.js b/db/models/users.js
index 2a83eca8..3fcb58b4 100644
--- a/db/models/users.js
+++ b/db/models/users.js
@@ -178,6 +178,12 @@ const attributes = {
comment: null,
field: "pin"
},
+ email: {
+ type: DataTypes.STRING(255),
+ },
+ sms: {
+ type: DataTypes.STRING(255),
+ }
};
const options = {