Release 202507061803

This commit is contained in:
pluja
2025-07-06 18:03:45 +00:00
parent 349c26a4df
commit 7a294cb0a1
11 changed files with 66 additions and 5 deletions

View File

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Service" ADD COLUMN "strictCommentingEnabled" BOOLEAN NOT NULL DEFAULT false;

View File

@@ -406,6 +406,8 @@ model Service {
Notification Notification[]
affiliatedUsers ServiceUser[] @relation("ServiceUsers")
strictCommentingEnabled Boolean @default(false)
@@index([listedAt])
@@index([approvedAt])
@@index([verifiedAt])

View File

@@ -720,6 +720,7 @@ const generateFakeService = (users: User[]) => {
}),
{ probability: 0.33 }
),
strictCommentingEnabled: faker.datatype.boolean(0.33333),
} as const satisfies Prisma.ServiceCreateInput
}