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