Change primary key
This commit is contained in:
parent
87f9b050e1
commit
df011ba51b
|
@ -48,7 +48,7 @@ CREATE TABLE IF NOT EXISTS "pk_teams" (
|
||||||
"teamIDBR" TEXT,
|
"teamIDBR" TEXT,
|
||||||
"teamIDlahman45" TEXT,
|
"teamIDlahman45" TEXT,
|
||||||
"teamIDretro" TEXT,
|
"teamIDretro" TEXT,
|
||||||
PRIMARY KEY("yearID","teamID"),
|
PRIMARY KEY("yearID","franchID"),
|
||||||
foreign key("franchID") references "teamsfranchises"("franchID")
|
foreign key("franchID") references "teamsfranchises"("franchID")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue