aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--db/models/payments.js18
1 files changed, 9 insertions, 9 deletions
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,