aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
Diffstat (limited to 'db')
-rw-r--r--db/models/accounts.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js
index 12fef548..88ad2d44 100644
--- a/db/models/accounts.js
+++ b/db/models/accounts.js
@@ -124,6 +124,15 @@ const attributes = {
comment: null,
field: "balance"
},
+ fee_credits: {
+ type: DataTypes.DOUBLE,
+ allowNull: true,
+ defaultValue: 0.0,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: "Credits that can be used towards paying withdrawal fees",
+ field: "fee_credits"
+ },
pending: {
type: DataTypes.DOUBLE,
allowNull: true,