Skip to content

Commit

Permalink
add indicde on builder nft
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcasey committed Dec 6, 2024
1 parent 112b3dd commit c5e2f5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- CreateIndex
CREATE INDEX "BuilderNft_season_nftType_idx" ON "BuilderNft"("season", "nftType");
1 change: 1 addition & 0 deletions src/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -3129,6 +3129,7 @@ model BuilderNft {
// Only 1 builder token per season
@@unique([builderId, season, nftType])
@@index([builderId])
@@index([season, nftType])
}

enum ScoutGameActivityType {
Expand Down

0 comments on commit c5e2f5e

Please sign in to comment.