add league names
This commit is contained in:
parent
56807b1027
commit
8539a3f0af
|
@ -1,14 +1,15 @@
|
||||||
begin;
|
begin;
|
||||||
create table if not exists "leagues" (
|
create table if not exists "leagues" (
|
||||||
"ID" text
|
"ID" text,
|
||||||
|
"name" text
|
||||||
);
|
);
|
||||||
|
|
||||||
insert into leagues values
|
insert into leagues values
|
||||||
("NA"),
|
("NA","National Association"),
|
||||||
("NL"),
|
("NL","National League"),
|
||||||
("AA"),
|
("AA","American Association"),
|
||||||
("UA"),
|
("UA","Union Association"),
|
||||||
("PL"),
|
("PL","Player's League"),
|
||||||
("AL"),
|
("AL","American League"),
|
||||||
("FL");
|
("FL","Federal League");
|
||||||
commit;
|
commit;
|
||||||
|
|
|
@ -352,6 +352,7 @@ insert into teams select distinct * from "transformed"."teams";
|
||||||
|
|
||||||
create table if not exists "leagues" (
|
create table if not exists "leagues" (
|
||||||
"ID" text,
|
"ID" text,
|
||||||
|
"name" text,
|
||||||
primary key("ID")
|
primary key("ID")
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue