diff options
| author | Adam Soltys <[email protected]> | 2020-04-29 20:59:05 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-04-29 21:03:33 -0700 |
| commit | fa84d5a65844602c7e97e9bf0e5a51befdebaf53 (patch) | |
| tree | 3e0335eea275a5de9040eb3cc6dfc62c6e190575 /db/models | |
| parent | 001c0291ad6eabe5684138422adfa0e851d507a6 (diff) | |
| download | coinos-server-fa84d5a65844602c7e97e9bf0e5a51befdebaf53.tar.gz coinos-server-fa84d5a65844602c7e97e9bf0e5a51befdebaf53.zip | |
update account balance properly after lightning payment
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/payments.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/payments.js b/db/models/payments.js index 8c464293..076a644f 100644 --- a/db/models/payments.js +++ b/db/models/payments.js @@ -64,6 +64,15 @@ const attributes = { comment: null, field: "rate" }, + preimage: { + type: DataTypes.STRING(255), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "preimage" + }, network: { type: DataTypes.STRING(255), allowNull: true, |
