handle 1945 all-star game not being played

This commit is contained in:
2024-01-27 11:32:11 -06:00
parent fbd9e4b669
commit d4729206da
3 changed files with 10 additions and 6 deletions

View File

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