add league names

This commit is contained in:
Nick Griffey 2024-01-27 23:39:30 -06:00
parent 56807b1027
commit 8539a3f0af
2 changed files with 10 additions and 8 deletions

View File

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

View File

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