Skip to content

Commit

Permalink
add indexes to order table
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhappyma committed Nov 11, 2024
1 parent b52ff1d commit 6bff902
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ model order {
invite String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([status, guildId, customerId])
}

enum orderStatus {
Expand Down

0 comments on commit 6bff902

Please sign in to comment.