Skip to content

Commit

Permalink
feat: add index on session authToken
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoRCD committed Mar 30, 2024
1 parent ea4de36 commit 5436978
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/app/server/database/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ model Session {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
@@index([authToken], name: "auth_token_index")
}

model Project {
Expand Down

0 comments on commit 5436978

Please sign in to comment.