mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-06 07:23:22 +00:00
remove default emails attribute on user model
This commit is contained in:
parent
e64a704341
commit
1f6fcafce6
1 changed files with 0 additions and 4 deletions
|
@ -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 : ''}
|
||||
|
|
Loading…
Reference in a new issue