Fix migration

This commit is contained in:
Chris Parsons 2026-03-18 22:54:01 -07:00
parent 51a0a3ebba
commit 52e7c98805

View file

@ -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");