Skip to content

Commit

Permalink
[FIX] prisma schema
Browse files Browse the repository at this point in the history
  • Loading branch information
leGit-y committed Nov 5, 2023
1 parent 9fd3cd8 commit 12ce138
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 @@ -64,6 +64,6 @@ model worry {

model token {
user_id Int @id
refresh_token String @db.VarChar(150)
refresh_token String @unique @db.VarChar(150)
user user @relation(fields: [user_id], references: [id], onDelete: NoAction, onUpdate: NoAction, map: "token_user_id_fk")
}

0 comments on commit 12ce138

Please sign in to comment.