3beaa52335
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
8 lines
376 B
SQL
8 lines
376 B
SQL
-- 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';
|