mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 12:33:17 +00:00
fix: change fileName and fileUrl to VarChar 500
This commit is contained in:
@@ -85,10 +85,10 @@ model card {
|
|||||||
question String @db.Text
|
question String @db.Text
|
||||||
answer String @db.Text
|
answer String @db.Text
|
||||||
shots Int @default(0)
|
shots Int @default(0)
|
||||||
questionImg String?
|
questionImg String? @db.VarChar(500)
|
||||||
answerImg String?
|
answerImg String? @db.VarChar(500)
|
||||||
answerVideo String?
|
answerVideo String? @db.VarChar(500)
|
||||||
questionVideo String?
|
questionVideo String? @db.VarChar(500)
|
||||||
comments String?
|
comments String?
|
||||||
type String?
|
type String?
|
||||||
rating Int @default(0)
|
rating Int @default(0)
|
||||||
@@ -109,7 +109,7 @@ model deck {
|
|||||||
name String
|
name String
|
||||||
isPrivate Boolean @default(false)
|
isPrivate Boolean @default(false)
|
||||||
shots Int @default(0)
|
shots Int @default(0)
|
||||||
cover String?
|
cover String? @db.VarChar(500)
|
||||||
rating Int @default(0)
|
rating Int @default(0)
|
||||||
isDeleted Boolean?
|
isDeleted Boolean?
|
||||||
isBlocked Boolean?
|
isBlocked Boolean?
|
||||||
|
|||||||
Reference in New Issue
Block a user