aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRan <[email protected]>2021-07-15 14:23:45 -0700
committerRan <[email protected]>2021-07-15 14:23:45 -0700
commit9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6 (patch)
treef1b458e9b248bd3cb2e2e6bdb3cb519d2a00127c
parentccad63b2c0ff2b69953a264d86d689bf4cb4df71 (diff)
downloadcoinos-server-9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6.tar.gz
coinos-server-9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6.zip
restore invoice_id in payments
-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,