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

[ENT] add indexes for common queries on ENT #2032

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

pxp928
Copy link
Collaborator

@pxp928 pxp928 commented Jul 16, 2024

Description of the PR

add indexes for common queries on ENT. Specifically:

isDependency: DepPkg: id
isDependency: Pkg: id
isOccurrence: Artifact: id
isOccurrence: Subject: Package: id
CertifyVuln: Package: id & Vuln: NoVuln:false
HasSBOM: Subject: Package: id
HasSBOM: Subject: Artifact: id
CertifyLegal: Subject: Package: id

PR Checklist

  • All commits have a Developer Certificate of Origin (DCO) -- they are generated using -s flag to git commit.
  • All new changes are covered by tests
  • If GraphQL schema is changed, make generate has been run
  • If GraphQL schema is changed, GraphQL client updates/additions have been made
  • If OpenAPI spec is changed, make generate has been run
  • If ent schema is changed, make generate has been run
  • If collectsub protobuf has been changed, make proto has been run
  • All CI checks are passing (tests and formatting)
  • All dependent PRs have already been merged

Signed-off-by: pxp928 <parth.psu@gmail.com>
@pxp928 pxp928 force-pushed the add-common-query-index branch from 8620418 to d3c1e06 Compare July 16, 2024 18:48
Signed-off-by: pxp928 <parth.psu@gmail.com>
@pull-request-size pull-request-size bot added size/M and removed size/S labels Jul 16, 2024
Copy link
Collaborator

@mihaimaruseac mihaimaruseac left a comment

Choose a reason for hiding this comment

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

Nice!

@kodiakhq kodiakhq bot merged commit 0b17411 into guacsec:main Jul 16, 2024
8 checks passed
@pxp928 pxp928 deleted the add-common-query-index branch July 16, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants