diff options
| author | Adam Soltys <[email protected]> | 2021-06-29 10:28:58 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-07-07 12:42:19 -0700 |
| commit | 0fb703b85d99c888d1df971e7c3562f7918e0ff8 (patch) | |
| tree | 2f167df25b172c3b7166952444e39e7f582e93c4 /db/models/payments.js | |
| parent | 9bf4080d67d6342624c8f1fb543acab00191f730 (diff) | |
| download | coinos-server-0fb703b85d99c888d1df971e7c3562f7918e0ff8.tar.gz coinos-server-0fb703b85d99c888d1df971e7c3562f7918e0ff8.zip | |
add webhooks to invoices
Diffstat (limited to 'db/models/payments.js')
| -rw-r--r-- | db/models/payments.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/payments.js b/db/models/payments.js index 94050a0b..c315a5a0 100644 --- a/db/models/payments.js +++ b/db/models/payments.js @@ -19,6 +19,15 @@ const attributes = { comment: null, field: "account_id" }, + invoice_id: { + type: DataTypes.INTEGER(11), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "invoice_id" + }, user_id: { type: DataTypes.INTEGER(11), allowNull: true, |
