Skip to content

Add missing indexes for VerificationRequest.reviewedBy, Claim.campaig…#199

Open
chuks68 wants to merge 1 commit into
ChainForgee:mainfrom
chuks68:index-fixes
Open

Add missing indexes for VerificationRequest.reviewedBy, Claim.campaig…#199
chuks68 wants to merge 1 commit into
ChainForgee:mainfrom
chuks68:index-fixes

Conversation

@chuks68

@chuks68 chuks68 commented Jun 23, 2026

Copy link
Copy Markdown

this pr closes #131 VerificationRequest – added @@index([reviewedBy]).
Claim – corrected and indented the compound index @@index([campaignId, status]).
SessionSubmission – added a compound index @@index([sessionId, deletedAt]) (in addition to the existing @@index([deletedAt])).
These indexes address the performance gaps identified for frequent query patterns, satisfy the success criteria, and have been pushed to the remote repository. The PR can now be reviewed, approved, and merged.

…nId+status, SessionSubmission.sessionId+deletedAt
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.

[LOW] No dedicated database indexes on frequently queried join columns

1 participant