Unable to drop unique index on collection field after schema modification #14945
Labels
help
This issue can likely be resolved in GitHub issues. No bug fixes, features, or docs necessary
needs clarification
This issue doesn't have enough information to be actionable. Close after 14 days of inactivity
Prerequisites
Mongoose version
8.7.0
Node.js version
v22.6.0
MongoDB server version
6.9.0
Typescript version (if applicable)
No response
Description
Steps to Reproduce
Steps to Reproduce:
employeeId
.Expected Behavior
Expected Behavior:
The index on
employeeId
should be dropped successfully.Actual Behavior:
The index could not be dropped, and the schema modification was ineffective.
Code Example:
The text was updated successfully, but these errors were encountered: