aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
Diffstat (limited to 'db/models')
-rw-r--r--db/models/payments.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/db/models/payments.js b/db/models/payments.js
index f5d970bb..388010a0 100644
--- a/db/models/payments.js
+++ b/db/models/payments.js
@@ -145,6 +145,24 @@ const attributes = {
comment: null,
field: "tip"
},
+ redeemed: {
+ type: DataTypes.BOOLEAN,
+ allowNull: false,
+ defaultValue: false,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "redeemed"
+ },
+ redeemcode: {
+ type: DataTypes.STRING(255),
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "redeemcode"
+ },
confirmed: {
type: DataTypes.INTEGER(1),
allowNull: false,