diff options
| author | Adrien Hopkins <[email protected]> | 2022-06-17 06:01:55 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-06-17 06:01:55 -0500 |
| commit | 0e96536d82a8e77c63a307480120c459961cb8bb (patch) | |
| tree | 402ef3825b166791e223d9da07d5d56be2c876d8 | |
| parent | c66b9c6b5be4b1b524ee2675dd1f65f425d72ee9 (diff) | |
| parent | 978cc4f2886bbafd8d04ed000f1615600f87eb69 (diff) | |
| download | coinos-server-0e96536d82a8e77c63a307480120c459961cb8bb.tar.gz coinos-server-0e96536d82a8e77c63a307480120c459961cb8bb.zip | |
Merge branch 'feature-withdrawal-fee'
| -rw-r--r-- | db/models/accounts.js | 13 |
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: { |
