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 2f014af
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
// learn more about it in the docs: https://pris.ly/d/prisma-schema

generator client {
provider = "prisma-client-js"
provider = "prisma-client-js"
previewFeatures = ["tracing"]
}

datasource db {
Expand Down Expand Up @@ -31,6 +32,8 @@ model order {
invite String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([status, guildId, customerId])
}

enum orderStatus {
Expand Down

0 comments on commit 2f014af

Please sign in to comment.