aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/payments.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/models/payments.js b/models/payments.js
index 8e4f42c7..28f4912a 100644
--- a/models/payments.js
+++ b/models/payments.js
@@ -94,6 +94,15 @@ module.exports = sequelize => {
comment: null,
field: "amount"
},
+ fee: {
+ type: DataTypes.DOUBLE,
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "fee"
+ },
tip: {
type: DataTypes.DOUBLE,
allowNull: true,