Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. var user = new Schema({
  2. email : {type: String},
  3. firstName: {type: String},
  4. lastName: {type: String},
  5. username: {type:String},
  6. password: {type:String},
  7. privacy : {
  8. displayEmail: {type: Boolean, default: true},
  9. displayUsername: {type:Boolean: default: true},
  10. displayfirstName: {type:Boolean: default: true},
  11. displaylastName: {type:Boolean: default: true}
  12. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement