remove redundant unique constraint

This commit is contained in:
Nick Griffey 2024-02-02 08:11:39 -06:00
parent 1fd886fdd5
commit b67dec0630
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ CREATE TABLE "allstarstartingpos" (
"league" NUMERIC,
"startingPos" NUMERIC check ("startingPos" in (1,2,3,4,5,6,7,8,9,10)),
primary key("year","gameNum","league","startingPos"),
unique("year","gameNum","league","startingPos"),
foreign key("player","year","gameNum") references "allstars"("player","year","gameNum"),
foreign key("league") references "leagues"("ID")
);