From 0fb703b85d99c888d1df971e7c3562f7918e0ff8 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Tue, 29 Jun 2021 10:28:58 -0700 Subject: add webhooks to invoices --- db/models/payments.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db/models/payments.js') 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, -- cgit v1.2.3