fix: change fileName and fileUrl to VarChar 500

This commit is contained in:
2023-12-13 13:37:03 +01:00
parent 3ab74f812d
commit 8b90fc9a68

View File

@@ -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