aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-08-30 10:36:18 -0700
committerAdam Soltys <[email protected]>2022-08-31 15:29:39 -0700
commit4ca9d7053aa2f0782b719b806bfd71838948a60c (patch)
tree57130a13416070b0f2a64d9b22b9c9e861e6f9cd /db
parentd5dc8757d10348f42f8a768370abd7754972f615 (diff)
downloadcoinos-server-4ca9d7053aa2f0782b719b806bfd71838948a60c.tar.gz
coinos-server-4ca9d7053aa2f0782b719b806bfd71838948a60c.zip
user email and address fields
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 d0a6f92a..d9180a7f 100644
--- a/db/models/users.js
+++ b/db/models/users.js
@@ -10,6 +10,15 @@ const attributes = {
comment: null,
field: "id"
},
+ address: {
+ type: DataTypes.STRING,
+ allowNull: true,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "address"
+ },
admin: {
type: DataTypes.BOOLEAN,
allowNull: true,