aboutsummaryrefslogtreecommitdiffstats
path: root/db/models/accounts.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-10-01 00:17:09 -0700
committerAdam Soltys <[email protected]>2020-10-01 00:17:09 -0700
commitcd3977c1c8fedecbb344f774024c91a66be054de (patch)
tree764817bb09573246141a69812ee7b636a01dcc15 /db/models/accounts.js
parenta338fc4587dad308fe23c25ba97635844755c7d5 (diff)
downloadcoinos-server-cd3977c1c8fedecbb344f774024c91a66be054de.tar.gz
coinos-server-cd3977c1c8fedecbb344f774024c91a66be054de.zip
add privkey column
Diffstat (limited to 'db/models/accounts.js')
-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 17e03857..12fef548 100644
--- a/db/models/accounts.js
+++ b/db/models/accounts.js
@@ -151,6 +151,15 @@ const attributes = {
comment: null,
field: "index"
},
+ privkey: {
+ type: DataTypes.STRING,
+ allowNull: true,
+ defaultValue: null,
+ primaryKey: false,
+ autoIncrement: false,
+ comment: null,
+ field: "privkey"
+ },
pubkey: {
type: DataTypes.STRING,
allowNull: true,