From 2d7ba897665febb16a2246f7c99e8fb1c144a527 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Sat, 14 Jun 2025 00:11:59 -0700 Subject: [PATCH] added default value for role field in DB --- packages/database/prisma/schema/report.prisma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/database/prisma/schema/report.prisma b/packages/database/prisma/schema/report.prisma index a2e6171b..fc8d615a 100644 --- a/packages/database/prisma/schema/report.prisma +++ b/packages/database/prisma/schema/report.prisma @@ -2,7 +2,7 @@ model Report { id Int @id @default(autoincrement()) text String senderUserId String - reportedUserRole String + reportedUserRole String @default(null) reportedUserId String timestamp DateTime @default(now()) reviewerComment String?