Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var user = new Schema({
- email : {type: String},
- firstName: {type: String},
- lastName: {type: String},
- username: {type:String},
- password: {type:String},
- privacy : {
- displayEmail: {type: Boolean, default: true},
- displayUsername: {type:Boolean: default: true},
- displayfirstName: {type:Boolean: default: true},
- displaylastName: {type:Boolean: default: true}
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement