 const mongoose = require('mongoose');
 
 const Schema = mongoose.Schema;
 
 const userSchema = new Schema({
   username: {
     type: String,
     required: true,
     unique: true,
     trim: true,
     minLength: true
   } 
 },{timestamps: true,});

 const User = mongoose.model('user',userSchema)

 module.exports = User;
 
