You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First I created a property on an object and also created a unique index for it by adding { unique: true }. After some time of development I had to remove it, but it still remains in MongoDB. After reading the manual, I knew that it works when adding { index: false } to the configuration, but this doesn't help on a property where I want an index, but not unique.
The text was updated successfully, but these errors were encountered:
SimonSimCity
changed the title
Doesn't recreate the index if a property changes
Doesn't re-create the index if an index-setting (like unique) changes
Jan 4, 2018
First I created a property on an object and also created a unique index for it by adding
{ unique: true }
. After some time of development I had to remove it, but it still remains in MongoDB. After reading the manual, I knew that it works when adding{ index: false }
to the configuration, but this doesn't help on a property where I want an index, but not unique.The text was updated successfully, but these errors were encountered: