diff options
| author | Adam Soltys <[email protected]> | 2022-12-21 21:50:06 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-12-21 21:50:06 -0800 |
| commit | 316039601e5170d6f753cf09eac92a94176b4756 (patch) | |
| tree | 35ebb19bae1857b919b2e51d11817c8bb432b012 /db | |
| parent | a574285fe3b1de4fdfda342ed287bbc53a57400a (diff) | |
| download | coinos-server-316039601e5170d6f753cf09eac92a94176b4756.tar.gz coinos-server-316039601e5170d6f753cf09eac92a94176b4756.zip | |
store nostr keys
Diffstat (limited to 'db')
| -rw-r--r-- | db/models/users.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/db/models/users.js b/db/models/users.js index faf41576..fd38facf 100644 --- a/db/models/users.js +++ b/db/models/users.js @@ -224,6 +224,15 @@ const attributes = { comment: null, field: "twofa" }, + cipher: { + type: DataTypes.STRING(255), + }, + pubkey: { + type: DataTypes.STRING(255), + }, + salt: { + type: DataTypes.STRING(255), + }, pin: { type: DataTypes.STRING(255), allowNull: true, |
