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