handle 1945 all-star game not being played
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
begin;
|
||||
create table if not exists allstargames (
|
||||
"gameID" text,
|
||||
"yearID" numeric,
|
||||
"gameNum" numeric,
|
||||
primary key("gameID")
|
||||
"gameID" text,
|
||||
primary key("yearID","gameNum")
|
||||
);
|
||||
|
||||
insert into allstargames
|
||||
select distinct gameid, yearid, gamenum
|
||||
select distinct yearid, gamenum, gameid
|
||||
from allstarfull;
|
||||
|
||||
alter table allstarfull drop column "yearID";
|
||||
alter table allstarfull drop column "gameNum";
|
||||
alter table allstarfull drop column "gameID";
|
||||
commit;
|
||||
|
||||
Reference in New Issue
Block a user