diff options
| author | Adam Soltys <[email protected]> | 2022-08-30 10:36:18 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-30 10:36:18 -0700 |
| commit | c5ff0fdfa9ec1213063ffdc5ba1a72946319d4cd (patch) | |
| tree | d3d7875618ee04d59dd44cd743e3a9e6323eaac1 /db | |
| parent | 68d41ff2329f32edbb927e322350983208cd99f9 (diff) | |
| download | coinos-server-c5ff0fdfa9ec1213063ffdc5ba1a72946319d4cd.tar.gz coinos-server-c5ff0fdfa9ec1213063ffdc5ba1a72946319d4cd.zip | |
user email and address fields
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/users.js | 9 |
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, |
