aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/models/invoices.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/invoices.js b/db/models/invoices.js
index 324da9ad..d985ce82 100644
--- a/db/models/invoices.js
+++ b/db/models/invoices.js
@@ -154,6 +154,15 @@ const attributes = {
comment: null,
field: "webhook"
},
+ status: {
+ type: DataTypes.TEXT,
+ allowNull: true,
+ defaultValue: "unpaid",
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "status"
+ },
tip: {
type: DataTypes.DOUBLE,
allowNull: true,