1
0
Fork 0

change 'account' field in Account model to 'username'

refactor/models
Matthew 2019-10-26 00:02:09 -04:00
parent 93c5cd0df9
commit 0e13cfaf48
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import { Document, Schema, model } from 'mongoose';
export interface AccountInterface extends Document {
account: string,
username: string,
userID: string,
emailAddress: string,
createdBy: string,
@ -18,7 +18,7 @@ export interface AccountInterface extends Document {
}
const Account: Schema = new Schema({
account: String,
username: String,
userID: String,
emailAddress: String,
createdBy: String,