remove redundant unique constraint
This commit is contained in:
parent
1fd886fdd5
commit
b67dec0630
|
@ -45,7 +45,6 @@ CREATE TABLE "allstarstartingpos" (
|
||||||
"league" NUMERIC,
|
"league" NUMERIC,
|
||||||
"startingPos" NUMERIC check ("startingPos" in (1,2,3,4,5,6,7,8,9,10)),
|
"startingPos" NUMERIC check ("startingPos" in (1,2,3,4,5,6,7,8,9,10)),
|
||||||
primary key("year","gameNum","league","startingPos"),
|
primary key("year","gameNum","league","startingPos"),
|
||||||
unique("year","gameNum","league","startingPos"),
|
|
||||||
foreign key("player","year","gameNum") references "allstars"("player","year","gameNum"),
|
foreign key("player","year","gameNum") references "allstars"("player","year","gameNum"),
|
||||||
foreign key("league") references "leagues"("ID")
|
foreign key("league") references "leagues"("ID")
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue