add columns i shouldn't have deleted back in
This commit is contained in:
parent
2e07f0b516
commit
70b24db9eb
|
@ -24,9 +24,6 @@ select * from "raw".batting;
|
|||
|
||||
alter table batting drop column "lgID";
|
||||
alter table batting drop column "teamID";
|
||||
alter table batting drop column "G";
|
||||
alter table batting drop column "G_batting";
|
||||
|
||||
|
||||
-- bbref doesn't say this guy played in 1911
|
||||
delete from batting
|
||||
|
@ -48,6 +45,8 @@ CREATE TABLE IF NOT EXISTS main."batting" (
|
|||
"player" TEXT,
|
||||
"year" NUMERIC,
|
||||
"stint" NUMERIC,
|
||||
"G" NUMERIC,
|
||||
"G_batting" NUMERIC,
|
||||
"AB" NUMERIC,
|
||||
"R" NUMERIC,
|
||||
"H" NUMERIC check (H <= AB),
|
||||
|
|
Loading…
Reference in New Issue