Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing indices for dsaReports to INDEXES.md #4432

Closed
wants to merge 4 commits into from

Conversation

nick-funk
Copy link
Contributor

What does this PR do?

Add missing indices for dsaReports to INDEXES.md

These changes will impact:

  • commenters
  • moderators
  • admins
  • developers

What changes to the GraphQL/Database Schema does this PR introduce?

None

Does this PR introduce any new environment variables or feature flags?

No

If any indexes were added, were they added to INDEXES.md?

db.dsaReports.createIndex({ tenantID: 1, id: 1 }, { unique: true });
db.dsaReports.createIndex({ status: 1, createdAt: 1, tenantID: 1 });
db.dsaReports.createIndex({ referenceID: 1, tenantID: 1 });
db.dsaReports.createIndex({ submissionID: 1, tenantID: 1 });

Added to INDEXES.md.

How do I test this PR?

  • Use mongo compass to create indices
  • Use DSA functionality, see usage of the indices for their specific purposes

Where any tests migrated to React Testing Library?

No

How do we deploy this PR?

  • When DSA is deployed to an instance, add these indexes to their appropriate collections.

Copy link

netlify bot commented Nov 27, 2023

Deploy Preview for gallant-galileo-14878c canceled.

Name Link
🔨 Latest commit ce59faa
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/6564d7d0a09ecb00088b636f

@nick-funk
Copy link
Contributor Author

Branched off wrong base-branch, closing and opening new PR for this.

@nick-funk nick-funk closed this Nov 27, 2023
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