MongooseJS cant disable unique to field
Mongoose won't modify existing indexes, so you'll need to drop that index in the MongoDB shell and then let Mongoose recreate it using the definition in your schema:
> db.images.dropIndex('name_1');
Go to the DB(MongoDB)--> Collections --> Your_Table --> Indexes --> Right Click on the Unique Field --> Exit Index --> Uncheck the Unique field --> Save