move teamshalf

This commit is contained in:
2024-01-29 19:48:17 -06:00
parent aba5b75ad5
commit 4e6f000d3f
6 changed files with 36 additions and 42 deletions

View File

@@ -1,15 +0,0 @@
begin;
create table if not exists "teamshalfdivisions" (
"yearID" numeric,
"teamID" text,
"divID" text,
primary key("yearID","teamID")
);
insert into teamshalfdivisions
select distinct yearid, teamid, divid
from teamshalf;
alter table teamshalf drop column "lgID";
alter table teamshalf drop column "divID";
commit;