From 8b90fc9a68c29c384ef8c94c394e7b1c495b0c93 Mon Sep 17 00:00:00 2001 From: andres Date: Wed, 13 Dec 2023 13:37:03 +0100 Subject: [PATCH] fix: change fileName and fileUrl to VarChar 500 --- prisma/schema.prisma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prisma/schema.prisma b/prisma/schema.prisma index de41725..cd048da 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -158,8 +158,8 @@ model GeneralChatMessage { model fileEntity { id Int @id @default(autoincrement()) - fileName String - fileUrl String + fileName String @db.VarChar(500) + fileUrl String @db.VarChar(500) key String createdAt DateTime @default(now()) updatedAt DateTime @updatedAt