diff --git a/sql/leagues.sql b/sql/leagues.sql index 22bda32..82f4fb0 100644 --- a/sql/leagues.sql +++ b/sql/leagues.sql @@ -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; diff --git a/sql/load.sql b/sql/load.sql index 899fd41..54d761f 100644 --- a/sql/load.sql +++ b/sql/load.sql @@ -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") );