aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
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,