diff options
| author | Adam Soltys <[email protected]> | 2020-10-01 00:17:09 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2020-10-01 00:17:09 -0700 |
| commit | cd3977c1c8fedecbb344f774024c91a66be054de (patch) | |
| tree | 764817bb09573246141a69812ee7b636a01dcc15 /db/models | |
| parent | a338fc4587dad308fe23c25ba97635844755c7d5 (diff) | |
| download | coinos-server-cd3977c1c8fedecbb344f774024c91a66be054de.tar.gz coinos-server-cd3977c1c8fedecbb344f774024c91a66be054de.zip | |
add privkey column
Diffstat (limited to 'db/models')
| -rw-r--r-- | db/models/accounts.js | 9 |
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, |
