diff options
| author | Adam Soltys <[email protected]> | 2022-08-01 22:17:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-08-01 22:18:18 -0700 |
| commit | 52de78167f0a9a4f28e06c8e4d2883305a6046d5 (patch) | |
| tree | b017df9219bc1572426cdcc3bc337897a7f68b4c /db | |
| parent | f88165f8ffd3f3d39e7ca32af4197462924c84b4 (diff) | |
| download | coinos-server-52de78167f0a9a4f28e06c8e4d2883305a6046d5.tar.gz coinos-server-52de78167f0a9a4f28e06c8e4d2883305a6046d5.zip | |
record invoice status
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/invoices.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/invoices.js b/db/models/invoices.js index 324da9ad..d985ce82 100644 --- a/db/models/invoices.js +++ b/db/models/invoices.js @@ -154,6 +154,15 @@ const attributes = { comment: null, field: "webhook" }, + status: { + type: DataTypes.TEXT, + allowNull: true, + defaultValue: "unpaid", + primaryKey: false, + autoIncrement: false, + comment: null, + field: "status" + }, tip: { type: DataTypes.DOUBLE, allowNull: true, |
