Skip to content
This repository has been archived by the owner on Aug 15, 2023. It is now read-only.

Typo in DB index schema #774

Closed
Pandry opened this issue Oct 28, 2022 · 0 comments · Fixed by #848
Closed

Typo in DB index schema #774

Pandry opened this issue Oct 28, 2022 · 0 comments · Fixed by #848
Assignees

Comments

@Pandry
Copy link
Collaborator

Pandry commented Oct 28, 2022

I was giving a look a the index script, and it looks like there's typo here:

ret = db.experiments2.createIndex({ experimentId: -1, unique: true });

I think it is supposed to be ret = db.experiments2.createIndex({ experimentId: -1},{unique: true });

Also I'd love to rename the collection from experiments2 to experiments

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants