aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
Diffstat (limited to 'db/models')
-rw-r--r--db/models/accounts.js13
1 files changed, 11 insertions, 2 deletions
diff --git a/db/models/accounts.js b/db/models/accounts.js
index 6f85b771..59e2f1d3 100644
--- a/db/models/accounts.js
+++ b/db/models/accounts.js
@@ -130,7 +130,7 @@ const attributes = {
defaultValue: 0.0,
primaryKey: false,
autoIncrement: false,
- comment: "Credits that can be used towards paying withdrawal fees",
+ comment: "Credits that can be used towards paying Bitcoin withdrawal fees",
field: "btc_credits"
},
liquid_credits: {
@@ -139,7 +139,16 @@ const attributes = {
defaultValue: 0.0,
primaryKey: false,
autoIncrement: false,
- comment: "Credits that can be used towards paying withdrawal fees",
+ comment: "Credits that can be used towards paying Liquid withdrawal fees",
+ field: "liquid_credits"
+ },
+ lightning_credits: {
+ type: DataTypes.DOUBLE,
+ allowNull: true,
+ defaultValue: 0.0,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: "Credits that can be used towards paying Lightning withdrawal fees",
field: "liquid_credits"
},
pending: {