diff options
| author | Adam Soltys <[email protected]> | 2020-04-01 15:04:43 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-04-01 15:04:43 -0700 |
| commit | c4605df28a3f2a103ad56ff93fc2c7eebebb169c (patch) | |
| tree | f32ead61fa3bc1c9efebc4cd117aa64941126c22 /db/models | |
| parent | ed261b9f56d0a48bf65b473196a4976dbafac45b (diff) | |
| download | coinos-server-c4605df28a3f2a103ad56ff93fc2c7eebebb169c.tar.gz coinos-server-c4605df28a3f2a103ad56ff93fc2c7eebebb169c.zip | |
unit field
Diffstat (limited to 'db/models')
| -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 d5b1f5b8..48e8c94f 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -46,6 +46,15 @@ const attributes = { comment: null, field: "confidential" }, + unit: { + type: DataTypes.STRING(255), + allowNull: true, + defaultValue: 'SAT', + primaryKey: false, + autoIncrement: false, + comment: null, + field: "unit" + }, address: { type: DataTypes.STRING(255), allowNull: true, |
