aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
Diffstat (limited to 'db/models')
-rw-r--r--db/models/invoices.js11
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,