diff options
| author | Ran <[email protected]> | 2021-07-15 14:23:45 -0700 |
|---|---|---|
| committer | Ran <[email protected]> | 2021-07-15 14:23:45 -0700 |
| commit | 9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6 (patch) | |
| tree | f1b458e9b248bd3cb2e2e6bdb3cb519d2a00127c /db | |
| parent | ccad63b2c0ff2b69953a264d86d689bf4cb4df71 (diff) | |
| download | coinos-server-9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6.tar.gz coinos-server-9b9bc7e2e84ff1d66c7fb01c1cadd022b983a2f6.zip | |
restore invoice_id in payments
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/payments.js | 18 |
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, |
