You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
384 B

  1. var mongoose = require('mongoose'),
  2. Schema = mongoose.Schema;
  3. var userSchema = new Schema({
  4. username: { type: String },
  5. password: { type: String },
  6. description: { type: String },
  7. avatar: { type: String },
  8. mail: { type: String },
  9. phone: { type: String },
  10. telegram: { type: String }
  11. })
  12. module.exports = mongoose.model('userModel', userSchema);