diff options
| author | Adrien Hopkins <[email protected]> | 2022-06-13 16:16:37 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-06-13 16:16:37 -0500 |
| commit | f37c8ba68418a2a325f45a7a36c139cb5bc696aa (patch) | |
| tree | 98759089e8015931030877fb064507150ade7c36 /db | |
| parent | 9527f8a68f6a0a329c82dd8350703d10070437d5 (diff) | |
| parent | 1c02aa63933a234faa45eecbfdc82dae7f6e174c (diff) | |
| download | coinos-server-f37c8ba68418a2a325f45a7a36c139cb5bc696aa.tar.gz coinos-server-f37c8ba68418a2a325f45a7a36c139cb5bc696aa.zip | |
Merge branch 'feature-withdrawal-fee'
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/accounts.js | 9 |
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, |
