From 1962a6dcf1bb37bb8beb3fc4c0231d5a504a75fe Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 17 Jul 2020 20:55:47 -0700 Subject: memos --- db/models/invoices.js | 9 +++++++++ db/models/payments.js | 9 +++++++++ 2 files changed, 18 insertions(+) (limited to 'db/models') 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, -- cgit v1.2.3