mirror of
https://github.com/ershisan99/flashcards-api.git
synced 2025-12-16 20:59:26 +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
|
||||
answer String @db.Text
|
||||
shots Int @default(0)
|
||||
questionImg String?
|
||||
answerImg String?
|
||||
answerVideo String?
|
||||
questionVideo String?
|
||||
questionImg String? @db.VarChar(500)
|
||||
answerImg String? @db.VarChar(500)
|
||||
answerVideo String? @db.VarChar(500)
|
||||
questionVideo String? @db.VarChar(500)
|
||||
comments String?
|
||||
type String?
|
||||
rating Int @default(0)
|
||||
@@ -109,7 +109,7 @@ model deck {
|
||||
name String
|
||||
isPrivate Boolean @default(false)
|
||||
shots Int @default(0)
|
||||
cover String?
|
||||
cover String? @db.VarChar(500)
|
||||
rating Int @default(0)
|
||||
isDeleted Boolean?
|
||||
isBlocked Boolean?
|
||||
|
||||
Reference in New Issue
Block a user