aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRan Guin <[email protected]>2021-07-14 18:03:14 -0700
committerRan Guin <[email protected]>2021-07-14 18:03:14 -0700
commit33f0c7d44881b7306ae967a3c835ed243dea2ad1 (patch)
tree9be39aac8b8d88be3384b374d5f94f5b09e3dd94
parent54d6fae88b50c6cc27d52f2fdc387163f3531751 (diff)
downloadcoinos-server-33f0c7d44881b7306ae967a3c835ed243dea2ad1.tar.gz
coinos-server-33f0c7d44881b7306ae967a3c835ed243dea2ad1.zip
remove invoice_id from payments table (where did this come from?)
-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 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,