Change primary key

This commit is contained in:
Nick Griffey 2024-01-26 12:07:20 -06:00
parent 87f9b050e1
commit df011ba51b
1 changed files with 1 additions and 1 deletions

View File

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