Lee SeJin

Update User model index

......@@ -4,13 +4,15 @@ const UserSchema = new mongoose.Schema({
name: {
type: String,
trim: true,
sparse: true
sparse: true,
index: true
},
email: {
type: String,
trim: true,
unique: true,
sparse: true
sparse: true,
index: true
},
avatarUrl: String,
githubId: {
......