This is my mongoosejs schema. I set name unique to false, but this is what i get: MongoError: insertDocument :: caused by :: 11000 E11000 duplicate key error index:
MongoDB Compass
If you are using MongoDB Compass then you can choose your document and then click on Indexes and delete the index which you want to delete.
Indexes