Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion app/backend/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ model AidPackage {
remainingAmount Float @default(0)

@@index([campaignId])
@@index([campaignId, status])
@@index([campaignId, status])
}

/// Tracks every balance event (lock / unlock / disburse) for a campaign.
Expand Down Expand Up @@ -180,6 +180,7 @@ model SessionSubmission {
@@index([sessionId])
@@index([stepId])
@@index([deletedAt])
@@index([sessionId, deletedAt])
}

enum VerificationStatus {
Expand Down Expand Up @@ -208,6 +209,7 @@ model VerificationRequest {
@@index([orgId])
@@index([status])
@@index([reviewedAt])
@@index([reviewedBy])
}

model Claim {
Expand Down Expand Up @@ -241,6 +243,7 @@ model Claim {

@@index([status])
@@index([campaignId])
@@index([campaignId, status])
@@index([createdAt])
@@index([deletedAt])
@@index([reissuedFromId])
Expand Down
Loading