Skip to content

Commit

Permalink
fix: 프리즈마 스키마 타입 재정의
Browse files Browse the repository at this point in the history
  • Loading branch information
JangHwanPark committed Jun 27, 2024
1 parent 0089352 commit 4e3466b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@ model users {
address String
password String
reviews book_review[]
refreshTokens refreshToken[]
}

model refreshToken {
id Int @id @default(autoincrement())
token String
userId Int
user users @relation(fields: [userId], references: [uid])
uid String
user users @relation(fields: [uid], references: [uid])
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}



model orders {
oid String @id
uid String
Expand Down

0 comments on commit 4e3466b

Please sign in to comment.