forked from engineering/cloudservices
add new fields
parent
b0cf9bfc1e
commit
e18307cb7f
|
@ -14,8 +14,9 @@ export interface AccountInterface extends Document {
|
||||||
communityManager: boolean,
|
communityManager: boolean,
|
||||||
engineer: boolean
|
engineer: boolean
|
||||||
},
|
},
|
||||||
root: boolean
|
root: boolean,
|
||||||
hash: string
|
hash: string,
|
||||||
|
salt: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const Account: Schema = new Schema({
|
const Account: Schema = new Schema({
|
||||||
|
@ -34,6 +35,7 @@ const Account: Schema = new Schema({
|
||||||
},
|
},
|
||||||
root: Boolean,
|
root: Boolean,
|
||||||
hash: String,
|
hash: String,
|
||||||
|
salt: String,
|
||||||
});
|
});
|
||||||
|
|
||||||
export default model<AccountInterface>('Account', Account);
|
export default model<AccountInterface>('Account', Account);
|
||||||
|
|
Loading…
Reference in New Issue