forked from engineering/cloudservices
change 'account' field in Account model to 'username'
parent
93c5cd0df9
commit
0e13cfaf48
|
@ -1,7 +1,7 @@
|
||||||
import { Document, Schema, model } from 'mongoose';
|
import { Document, Schema, model } from 'mongoose';
|
||||||
|
|
||||||
export interface AccountInterface extends Document {
|
export interface AccountInterface extends Document {
|
||||||
account: string,
|
username: string,
|
||||||
userID: string,
|
userID: string,
|
||||||
emailAddress: string,
|
emailAddress: string,
|
||||||
createdBy: string,
|
createdBy: string,
|
||||||
|
@ -18,7 +18,7 @@ export interface AccountInterface extends Document {
|
||||||
}
|
}
|
||||||
|
|
||||||
const Account: Schema = new Schema({
|
const Account: Schema = new Schema({
|
||||||
account: String,
|
username: String,
|
||||||
userID: String,
|
userID: String,
|
||||||
emailAddress: String,
|
emailAddress: String,
|
||||||
createdBy: String,
|
createdBy: String,
|
||||||
|
|
Loading…
Reference in New Issue