From 52e7c98805996fc65ef91f822443b50b0c4bb368 Mon Sep 17 00:00:00 2001 From: Chris Parsons Date: Wed, 18 Mar 2026 22:54:01 -0700 Subject: [PATCH] Fix migration --- drizzle/0052_new_warbird.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drizzle/0052_new_warbird.sql b/drizzle/0052_new_warbird.sql index 3e0cf5a..1906c01 100644 --- a/drizzle/0052_new_warbird.sql +++ b/drizzle/0052_new_warbird.sql @@ -1,2 +1,2 @@ -ALTER TABLE "sports_seasons" ADD COLUMN "is_draftable" boolean DEFAULT true NOT NULL;--> statement-breakpoint +ALTER TABLE "sports_seasons" ADD COLUMN IF NOT EXISTS "is_draftable" boolean DEFAULT true NOT NULL;--> statement-breakpoint CREATE UNIQUE INDEX IF NOT EXISTS "team_standings_snapshots_unique" ON "team_standings_snapshots" USING btree ("team_id","season_id","snapshot_date"); \ No newline at end of file