From 9c955df284fd33231225aeedda8337f5e18e59cf Mon Sep 17 00:00:00 2001 From: Nick Griffey Date: Sat, 27 Jan 2024 19:05:31 -0600 Subject: [PATCH] Add missing parks --- sql/corrections/parks.sql | 8 -------- sql/parks.sql | 7 +++++++ 2 files changed, 7 insertions(+), 8 deletions(-) delete mode 100644 sql/corrections/parks.sql diff --git a/sql/corrections/parks.sql b/sql/corrections/parks.sql deleted file mode 100644 index 5509da9..0000000 --- a/sql/corrections/parks.sql +++ /dev/null @@ -1,8 +0,0 @@ -begin; --- insert some missing parks -insert into parks values -('ARL03', 'Globe Life Field', null, 'Arlington', 'TX', 'US'), -('BUF05', 'Sahlen Field', null, 'Buffalo', 'NY', 'US'), -('DUN01', 'TD Ballpark', null, 'Dunedin', 'FL', 'US'), -('DYE01', 'Field of Dreams', null, 'Dyersville', 'IA', 'US'); -commit; diff --git a/sql/parks.sql b/sql/parks.sql index d52ec42..26a05b9 100644 --- a/sql/parks.sql +++ b/sql/parks.sql @@ -21,4 +21,11 @@ from aliases where a != ''; alter table parks drop column "park.alias"; + +-- insert some missing parks +insert into parks values +('ARL03', 'Globe Life Field', 'Arlington', 'TX', 'US'), +('BUF05', 'Sahlen Field', 'Buffalo', 'NY', 'US'), +('DUN01', 'TD Ballpark', 'Dunedin', 'FL', 'US'), +('DYE01', 'Field of Dreams', 'Dyersville', 'IA', 'US'); commit;