aboutsummaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-07-27 10:03:59 -0700
committerAdam Soltys <[email protected]>2020-07-27 10:04:02 -0700
commitbfb643b82b559cb4ee78c6501d339920c6df8176 (patch)
tree8cafe80075e0bc5b2ec35e0e4def91046ddcd532 /db
parent768bcc0107c98d145d4a663e8562a13666570941 (diff)
downloadcoinos-server-bfb643b82b559cb4ee78c6501d339920c6df8176.tar.gz
coinos-server-bfb643b82b559cb4ee78c6501d339920c6df8176.zip
add domain field to assets
Diffstat (limited to 'db')
-rw-r--r--db/models/accounts.js9
1 files changed, 9 insertions, 0 deletions
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,