diff options
| author | Adrien Hopkins <[email protected]> | 2022-06-06 14:51:48 -0500 |
|---|---|---|
| committer | Adrien Hopkins <[email protected]> | 2022-06-06 14:51:48 -0500 |
| commit | 8fcd976a04d1cfffdf84306c39a4d6c526aa0a22 (patch) | |
| tree | de731c67d32fd93d9105a2f0a3ab2776d9768334 /db | |
| parent | 2549d087fd55191cd711e02522892092ba7e2fda (diff) | |
| download | coinos-server-8fcd976a04d1cfffdf84306c39a4d6c526aa0a22.tar.gz coinos-server-8fcd976a04d1cfffdf84306c39a4d6c526aa0a22.zip | |
Added withdrawal fee credits, which can pay withdrawal fees
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, |
