diff options
| author | Adam Soltys <[email protected]> | 2020-09-07 20:04:33 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-07 20:04:33 -0700 |
| commit | e40e68f49b10d6ef70546f7128bad891256525c0 (patch) | |
| tree | f2f0b832eb9f8655c7d4bfca7c2ce12aa9634b5c /db/models/users.js | |
| parent | f82838d4682de4717f6a66be2a7903fdab83cbce (diff) | |
| download | coinos-server-e40e68f49b10d6ef70546f7128bad891256525c0.tar.gz coinos-server-e40e68f49b10d6ef70546f7128bad891256525c0.zip | |
multiple same-asset accounts
Diffstat (limited to 'db/models/users.js')
| -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 f6446a38..1bb4caaa 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -19,6 +19,15 @@ const attributes = { comment: null, field: "fiat" }, + index: { + type: DataTypes.INTEGER, + allowNull: true, + defaultValue: 0, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "index" + }, ip: { type: DataTypes.INTEGER.UNSIGNED, allowNull: true, |
