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:
@@ -158,8 +158,8 @@ model GeneralChatMessage {
|
|||||||
|
|
||||||
model fileEntity {
|
model fileEntity {
|
||||||
id Int @id @default(autoincrement())
|
id Int @id @default(autoincrement())
|
||||||
fileName String
|
fileName String @db.VarChar(500)
|
||||||
fileUrl String
|
fileUrl String @db.VarChar(500)
|
||||||
key String
|
key String
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
updatedAt DateTime @updatedAt
|
updatedAt DateTime @updatedAt
|
||||||
|
|||||||
Reference in New Issue
Block a user