Skip to content

Removes the preserveUniqueKey flag from index specification after using it#63

Open
IvoFritsch wants to merge 1 commit intocraftup:developfrom
IvoFritsch:develop
Open

Removes the preserveUniqueKey flag from index specification after using it#63
IvoFritsch wants to merge 1 commit intocraftup:developfrom
IvoFritsch:develop

Conversation

@IvoFritsch
Copy link

The flag presence on the index specification was causing mongoDB to throw the following error:

The field 'preserveUniqueKey' is not valid for an index specification. Specification: { key: { associatedInsurance: 1.0 }, ..., preserveUniqueKey: true }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant