mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +00:00
fix schema
This commit is contained in:
@@ -49,7 +49,7 @@ model user {
|
||||
model revokedToken {
|
||||
id String @id @default(cuid())
|
||||
userId String
|
||||
token String @unique
|
||||
token String @unique @db.VarChar(500)
|
||||
revokedAt DateTime @default(now())
|
||||
user user @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user