From bfb643b82b559cb4ee78c6501d339920c6df8176 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 27 Jul 2020 10:03:59 -0700 Subject: add domain field to assets --- db/models/accounts.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'db/models') diff --git a/db/models/accounts.js b/db/models/accounts.js index 6bc9c955..470ca842 100644 --- a/db/models/accounts.js +++ b/db/models/accounts.js @@ -46,6 +46,15 @@ const attributes = { comment: null, field: "name" }, + domain: { + type: DataTypes.STRING(255), + allowNull: true, + defaultValue: null, + primaryKey: false, + autoIncrement: false, + comment: null, + field: "domain" + }, ticker: { type: DataTypes.STRING(255), allowNull: true, -- cgit v1.2.3