aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-04-30 00:05:37 -0400
committerAdam Soltys <[email protected]>2020-04-30 00:05:37 -0400
commitc5545d98aed3eaac4f88cdc3a9f3d7d9e7204134 (patch)
treea14213bcad22d9a0f331b6073e15308fe015177c /db
parent53b76aa961bdd4b8daa6cb8a8f002373546cd7f7 (diff)
parentfa84d5a65844602c7e97e9bf0e5a51befdebaf53 (diff)
downloadcoinos-server-c5545d98aed3eaac4f88cdc3a9f3d7d9e7204134.tar.gz
coinos-server-c5545d98aed3eaac4f88cdc3a9f3d7d9e7204134.zip
Merge branch 'master' of https://github.com/asoltys/coinos-server
Diffstat (limited to 'db')
-rw-r--r--db/models/payments.js9
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,