const mongoose = require("mongoose");
const UserSchema = new mongoose.Schema({
email: {
type: String,
required: true,
unique: true
},
password: {
type: String,
required: true,
unique: false,
},
});
module.exports = mongoose.model.Users || mongoose.model("Users", UserSchema);