|
|
@@ -8,10 +8,6 @@ ObjectId = Schema.ObjectId
|
|
|
|
|
|
UserSchema = new Schema
|
|
|
email : {type : String, default : ''}
|
|
|
- emails: [{
|
|
|
- email: { type : String, default : '' },
|
|
|
- createdAt: { type : Date, default: () -> new Date() }
|
|
|
- }],
|
|
|
first_name : {type : String, default : ''}
|
|
|
last_name : {type : String, default : ''}
|
|
|
role : {type : String, default : ''}
|