In my NodeJS project, I have created a mongoose schema which I changed midway through the project. More specifically, I added the unique
parameter to a field.
However, this change does not seem to reflect as I am still able to create multiple documents with the same value for the parameter which I set as unique
How to fix this issue