diff options
| author | Adam Soltys <[email protected]> | 2020-07-29 16:40:30 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-07-29 16:40:30 -0700 |
| commit | 99d71f034cfb7c1675263539fa6aecb17429d134 (patch) | |
| tree | 6d29806937436fde454f357a8dd5f7a30fa6b8bd /db/models/payments.js | |
| parent | ffee4c7051982f3677d6717d24e7b357a89802eb (diff) | |
| download | coinos-server-99d71f034cfb7c1675263539fa6aecb17429d134.tar.gz coinos-server-99d71f034cfb7c1675263539fa6aecb17429d134.zip | |
redeem codes
Diffstat (limited to 'db/models/payments.js')
| -rw-r--r-- | db/models/payments.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/db/models/payments.js b/db/models/payments.js index f5d970bb..388010a0 100644 --- a/db/models/payments.js +++ b/db/models/payments.js @@ -145,6 +145,24 @@ const attributes = { comment: null, field: "tip" }, + redeemed: { + type: DataTypes.BOOLEAN, + allowNull: false, + defaultValue: false, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "redeemed" + }, + redeemcode: { + type: DataTypes.STRING(255), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "redeemcode" + }, confirmed: { type: DataTypes.INTEGER(1), allowNull: false, |
