From e18307cb7f0d2c174390bfa078788654305dbe49 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 16 Nov 2019 23:24:36 -0500 Subject: [PATCH] add new fields --- src/models/Account.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/models/Account.ts b/src/models/Account.ts index b05241d..593bc24 100644 --- a/src/models/Account.ts +++ b/src/models/Account.ts @@ -14,8 +14,9 @@ export interface AccountInterface extends Document { communityManager: boolean, engineer: boolean }, - root: boolean - hash: string + root: boolean, + hash: string, + salt: string } const Account: Schema = new Schema({ @@ -34,6 +35,7 @@ const Account: Schema = new Schema({ }, root: Boolean, hash: String, + salt: String, }); export default model('Account', Account);