feat: add team configuration fields to Event model
Add fields for team durability, partner rotation, and configuration: - teamDurability: permanent, variable, or per_round - partnerRotation: none, minimize_repeat, maximize_even, elo_based - allowByes: handle odd participant counts - teamConfiguration: JSON for additional options - maxRosterChanges: limit roster changes per player - requireAdminVerify: for match score verification Refs #22
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE "events" ADD COLUMN "allowByes" BOOLEAN NOT NULL DEFAULT true,
|
||||
ADD COLUMN "maxRosterChanges" INTEGER,
|
||||
ADD COLUMN "partnerRotation" TEXT NOT NULL DEFAULT 'none',
|
||||
ADD COLUMN "requireAdminVerify" BOOLEAN NOT NULL DEFAULT false,
|
||||
ADD COLUMN "teamConfiguration" JSONB,
|
||||
ADD COLUMN "teamDurability" TEXT NOT NULL DEFAULT 'permanent';
|
||||
Reference in New Issue
Block a user