diff options
| author | Adam Soltys <[email protected]> | 2022-11-08 14:56:42 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-11-08 14:56:47 -0800 |
| commit | 59d76923ddf204cfd3810a4ac356917bd5ce627d (patch) | |
| tree | 56d13c2d0d04d9086b3e54ef3827a04184465e2d /db/models | |
| parent | 9b060ad4e907bf2a69d787e4a939ea30df0a3eb2 (diff) | |
| download | coinos-server-59d76923ddf204cfd3810a4ac356917bd5ce627d.tar.gz coinos-server-59d76923ddf204cfd3810a4ac356917bd5ce627d.zip | |
invoice pending amount
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/invoices.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/db/models/invoices.js b/db/models/invoices.js index b13a9545..82e64427 100644 --- a/db/models/invoices.js +++ b/db/models/invoices.js @@ -129,7 +129,7 @@ const attributes = { field: "address" }, received: { - type: DataTypes.STRING(255), + type: DataTypes.DOUBLE, allowNull: false, defaultValue: 0, primaryKey: false, @@ -146,6 +146,15 @@ const attributes = { comment: null, field: "amount" }, + pending: { + type: DataTypes.DOUBLE, + allowNull: false, + defaultValue: 0, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "pending" + }, webhook: { type: DataTypes.TEXT, allowNull: true, |
