Skip to content

Commit

Permalink
feat(ew): add index to Purchase.userId
Browse files Browse the repository at this point in the history
  • Loading branch information
jbranchaud authored and kodiakhq[bot] committed Mar 12, 2024
1 parent a7005dc commit 4f17e97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/database/prisma/schema.prisma
Expand Up @@ -229,6 +229,8 @@ model Purchase {
user User? @relation(fields: [userId], references: [id], onDelete: Cascade)
status String @default("Valid")
purchaseUserTransfers PurchaseUserTransfer[]
@@index([userId])
}

model Session {
Expand Down

0 comments on commit 4f17e97

Please sign in to comment.