aboutsummaryrefslogtreecommitdiffstats
path: root/db/models
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-09-16 23:05:14 -0700
committerAdam Soltys <[email protected]>2020-09-16 23:05:14 -0700
commit49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9 (patch)
treeeb3befe88898a91a153690729d025e5f339f4cbf /db/models
parent55a37c3a545928553d6a540431f6266cb24fa401 (diff)
downloadcoinos-server-49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9.tar.gz
coinos-server-49883ffcf2b01f4ca85f87cd55ba17cc8d6aaea9.zip
add account network, fix internal asset transfers
Diffstat (limited to 'db/models')
-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 fc386816..17e03857 100644
--- a/db/models/accounts.js
+++ b/db/models/accounts.js
@@ -55,6 +55,15 @@ const attributes = {
comment: null,
field: "seed"
},
+ network: {
+ type: DataTypes.STRING(255),
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "network"
+ },
name: {
type: DataTypes.STRING(255),
allowNull: true,