Fix migration
This commit is contained in:
parent
51a0a3ebba
commit
52e7c98805
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
CREATE UNIQUE INDEX IF NOT EXISTS "team_standings_snapshots_unique" ON "team_standings_snapshots" USING btree ("team_id","season_id","snapshot_date");
|
||||||
Loading…
Add table
Reference in a new issue