aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-17 20:55:47 -0700
committerAdam Soltys <[email protected]>2020-07-17 20:55:59 -0700
commit1962a6dcf1bb37bb8beb3fc4c0231d5a504a75fe (patch)
tree46ffa53e3f7ebbdb2ea9c9abd1cf64405e1410cd /db/models
parent4a8abaa2722b629cebebb677249c3fd4f51292fb (diff)
downloadcoinos-server-1962a6dcf1bb37bb8beb3fc4c0231d5a504a75fe.tar.gz
coinos-server-1962a6dcf1bb37bb8beb3fc4c0231d5a504a75fe.zip
memos
Diffstat (limited to 'db/models')
-rw-r--r--db/models/invoices.js9
-rw-r--r--db/models/payments.js9
2 files changed, 18 insertions, 0 deletions
diff --git a/db/models/invoices.js b/db/models/invoices.js
index 6fb68c31..231ed6f6 100644
--- a/db/models/invoices.js
+++ b/db/models/invoices.js
@@ -64,6 +64,15 @@ const attributes = {
comment: null,
field: "uuid"
},
+ memo: {
+ type: DataTypes.TEXT,
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "memo"
+ },
network: {
type: DataTypes.STRING(255),
allowNull: true,
diff --git a/db/models/payments.js b/db/models/payments.js
index 51ef2550..f5d970bb 100644
--- a/db/models/payments.js
+++ b/db/models/payments.js
@@ -28,6 +28,15 @@ const attributes = {
comment: null,
field: "user_id"
},
+ memo: {
+ type: DataTypes.TEXT,
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "memo"
+ },
hash: {
type: DataTypes.TEXT,
allowNull: true,