Skip to content

Commit

Permalink
add some other indices
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasey committed Dec 5, 2024
1 parent 4797587 commit 348b3c9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -2916,9 +2916,13 @@ model BuilderEvent {
referralCodeEvent ReferralCodeEvent?
@@index([builderId])
@@index([type])
@@index([githubEventId])
@@index([gemsPayoutEventId])
@@index([nftPurchaseEventId])
@@index([dailyClaimEventId])
@@index([dailyClaimStreakEventId])
@@index([weeklyClaimId])
}

model GithubUser {
Expand Down Expand Up @@ -3002,6 +3006,7 @@ model NFTPurchaseEvent {
scoutWallet ScoutWallet? @relation(fields: [walletAddress], references: [address], onDelete: Cascade)
@@index([scoutId])
@@index([builderNftId])
}

model GemsPayoutEvent {
Expand Down Expand Up @@ -3116,6 +3121,7 @@ model BuilderNft {
@@unique([contractAddress, tokenId, chainId])
// Only 1 builder token per season
@@unique([builderId, season])
@@index([builderId])
}

enum ScoutGameActivityType {
Expand Down

0 comments on commit 348b3c9

Please sign in to comment.