From f89b0ffde25292909bd398430e84e6c693084582 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 9 Aug 2020 22:13:47 -0700 Subject: handle receiving to non-custodial account --- db/models/accounts.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'db') diff --git a/db/models/accounts.js b/db/models/accounts.js index 5a6f0bd3..e139956d 100644 --- a/db/models/accounts.js +++ b/db/models/accounts.js @@ -106,6 +106,33 @@ const attributes = { comment: null, field: "pending" }, + index: { + type: DataTypes.INTEGER(11), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "index" + }, + address: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "address" + }, + pubkey: { + type: DataTypes.STRING, + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "pubkey" + }, precision: { type: DataTypes.INTEGER(11), allowNull: true, -- cgit v1.2.3