Skip to content

Commit 4b3c152

Browse files
committed
update inde
1 parent e3c1a76 commit 4b3c152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/proposal/schema/proposal.schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ ProposalSchema.index({ ownerId: 1, status: 1, dueDateForStatus: 1 });
256256
ProposalSchema.index({ ownerId: 1, status: 1, projectAbbreviation: 1 });
257257

258258
// Participating Scientists
259-
ProposalSchema.index({ participants: 1, status: 1, ownerName: 1 });
259+
ProposalSchema.index({ 'participants.researcher.email': 1, status: 1 });
260260

261261
// Indexes for get by status and sort by key
262262
ProposalSchema.index({ status: 1, _id: 1 });

0 commit comments

Comments
 (0)