feat: checkbox to count managed events for team-wide limits (#16923)

Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
Carina WollendorferandCarinaWolli authored and GitHub committed 2024-10-07 11:36:50 -04:00
1 parent 0d757039f7
commit b5fa43f086
17 files changed
+266 -61

No files matched your search

@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Team" ADD COLUMN "includeManagedEventsInLimits" BOOLEAN NOT NULL DEFAULT false;
+2 -1
View File
@@ -442,7 +442,8 @@ model Team {
features TeamFeatures[]
/// @zod.custom(imports.intervalLimitsType)
bookingLimits Json?
bookingLimits Json?
includeManagedEventsInLimits Boolean @default(false)
@@unique([slug, parentId])
@@index([parentId])