Found it in a second spot.

This commit is contained in:
Chris Parsons 2026-03-11 14:47:19 -07:00
parent 9d76178f56
commit 8666ff73c3

View file

@ -1,5 +1,13 @@
CREATE TYPE "public"."playoff_match_game_status" AS ENUM('scheduled', 'complete', 'postponed');--> statement-breakpoint
ALTER TYPE "public"."simulator_type" ADD VALUE 'ucl_bracket';--> statement-breakpoint
DO $$ BEGIN
IF NOT EXISTS (
SELECT 1 FROM pg_enum
WHERE enumlabel = 'ucl_bracket'
AND enumtypid = (SELECT oid FROM pg_type WHERE typname = 'simulator_type')
) THEN
ALTER TYPE "public"."simulator_type" ADD VALUE 'ucl_bracket';
END IF;
END $$;--> statement-breakpoint
CREATE TABLE IF NOT EXISTS "playoff_match_games" (
"id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
"playoff_match_id" uuid NOT NULL,