Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
fix(prisma): removed @unique from UploadKey
Browse files Browse the repository at this point in the history
  • Loading branch information
GGORG0 committed Jun 29, 2022
1 parent 76a3b55 commit fff965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ model User {

model UploadKey {
user User @relation(fields: [userId], references: [uuid])
userId String @db.Uuid @unique
userId String @db.Uuid
key String @id
}

0 comments on commit fff965f

Please sign in to comment.