We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f95e0 commit 74314b2Copy full SHA for 74314b2
src/database/model/User.ts
@@ -74,7 +74,6 @@ const schema = new Schema<User>(
74
);
75
76
schema.index({ _id: 1, status: 1 });
77
-schema.index({ email: 1 });
78
schema.index({ status: 1 });
79
80
export const UserModel = model<User>(DOCUMENT_NAME, schema, COLLECTION_NAME);
0 commit comments