From fa84d5a65844602c7e97e9bf0e5a51befdebaf53 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 29 Apr 2020 20:59:05 -0700 Subject: update account balance properly after lightning payment --- db/models/payments.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db/models') 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, -- cgit v1.2.3