From 33f0c7d44881b7306ae967a3c835ed243dea2ad1 Mon Sep 17 00:00:00 2001 From: Ran Guin Date: Wed, 14 Jul 2021 18:03:14 -0700 Subject: remove invoice_id from payments table (where did this come from?) --- db/models/payments.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/db/models/payments.js b/db/models/payments.js index c315a5a0..bf414c8c 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