@ -10,6 +10,10 @@ const userSchema = new mongoose.Schema({
type: String,
required: [true, "Password is required!"]
},
mobileNo: {
required: [true, 'Mobile Number is Required']
isAdmin: {
type: Boolean,
default: false