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 indices for dsaReports to INDEXES.md #4433

Merged
merged 1 commit into from
Dec 4, 2023

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 33ace1c
🔍 Latest deploy log https://app.netlify.com/sites/gallant-galileo-14878c/deploys/6564d8792659da0008f4d38f

@nick-funk nick-funk changed the title Add missing indices for dsaReports to INDEXES.md Add indices for dsaReports to INDEXES.md Nov 27, 2023
Copy link
Contributor

@kabeaty kabeaty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thank you for adding!

@kabeaty kabeaty added this pull request to the merge queue Dec 4, 2023
Merged via the queue into develop with commit dd10e64 Dec 4, 2023
5 checks passed
@kabeaty kabeaty deleted the fix/dsa-report-indices-rebase branch December 4, 2023 18:13
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.

3 participants