diff options
| author | Adam Soltys <[email protected]> | 2020-09-08 07:26:14 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-09-08 07:26:14 -0700 |
| commit | b5607df482440b55bd3e802f5bea4ead95e6491e (patch) | |
| tree | 6b8948fbb703c1feaca1aca10f3ac86c8062768b /db/models | |
| parent | e40e68f49b10d6ef70546f7128bad891256525c0 (diff) | |
| download | coinos-server-b5607df482440b55bd3e802f5bea4ead95e6491e.tar.gz coinos-server-b5607df482440b55bd3e802f5bea4ead95e6491e.zip | |
bump account index
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/accounts.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js index acd321b2..fc386816 100644 --- a/db/models/accounts.js +++ b/db/models/accounts.js @@ -135,8 +135,8 @@ const attributes = { }, index: { type: DataTypes.INTEGER(11), - allowNull: true, - defaultValue: null, + allowNull: false, + defaultValue: 0, primaryKey: false, autoIncrement: false, comment: null, |
