From 9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6 Mon Sep 17 00:00:00 2001 From: Ran Date: Thu, 15 Jul 2021 14:23:45 -0700 Subject: restore invoice_id in payments --- db/models/payments.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'db') diff --git a/db/models/payments.js b/db/models/payments.js index bf414c8c..c315a5a0 100644 --- a/db/models/payments.js +++ b/db/models/payments.js @@ -19,15 +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" - // }, + 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