alphabetize sql files

This commit is contained in:
Nick Griffey 2024-01-29 23:08:15 -06:00
parent 2a18e2e8f4
commit c5c218b571
1 changed files with 35 additions and 34 deletions

View File

@ -12,42 +12,43 @@ baseball.db: baseball-transformed.db sql/load.sql
baseball-transformed.db: baseball-raw.db sql/awards.sql sql/franchises.sql sql/teamseasons.sql sql/seasons.sql sql/parks.sql sql/collegeplaying.sql sql/schools.sql sql/people.sql sql/salaries.sql sql/batting.sql sql/pitching.sql sql/fielding.sql sql/appearances.sql sql/homegames.sql sql/seriespost.sql sql/fieldingofsplit.sql sql/teams.sql sql/leagues.sql sql/managers.sql sql/awardsmanagers.sql sql/battingpost.sql sql/fieldingpost.sql sql/pitchingpost.sql sql/appearancespost.sql sql/awardsshareplayers.sql sql/yearlyawards.sql sql/halloffame.sql sql/halloffamereqs.sql sql/awardsplayers.sql sql/parkaliases.sql sql/teamseasonshalf.sql sql/managershalf.sql sql/allstarstartingpos.sql sql/allstars.sql sql/allstargames.sql sql/playerstints.sql
rm -f baseball-transformed.db
cp baseball-raw.db baseball-transformed.db
cat sql/franchises.sql | sqlite3 baseball-transformed.db
cat sql/teamseasons.sql | sqlite3 baseball-transformed.db
cat sql/awards.sql | sqlite3 baseball-transformed.db
cat sql/seasons.sql | sqlite3 baseball-transformed.db
cat sql/parks.sql | sqlite3 baseball-transformed.db
cat sql/collegeplaying.sql | sqlite3 baseball-transformed.db
cat sql/schools.sql | sqlite3 baseball-transformed.db
cat sql/salaries.sql | sqlite3 baseball-transformed.db
cat sql/batting.sql | sqlite3 baseball-transformed.db
cat sql/pitching.sql | sqlite3 baseball-transformed.db
cat sql/fielding.sql | sqlite3 baseball-transformed.db
cat sql/appearances.sql | sqlite3 baseball-transformed.db
cat sql/homegames.sql | sqlite3 baseball-transformed.db
cat sql/people.sql | sqlite3 baseball-transformed.db
cat sql/seriespost.sql | sqlite3 baseball-transformed.db
cat sql/fieldingofsplit.sql | sqlite3 baseball-transformed.db
cat sql/teams.sql | sqlite3 baseball-transformed.db
cat sql/leagues.sql | sqlite3 baseball-transformed.db
cat sql/managers.sql | sqlite3 baseball-transformed.db
cat sql/awardsmanagers.sql | sqlite3 baseball-transformed.db
cat sql/fieldingpost.sql | sqlite3 baseball-transformed.db
cat sql/battingpost.sql | sqlite3 baseball-transformed.db
cat sql/pitchingpost.sql | sqlite3 baseball-transformed.db
cat sql/appearancespost.sql | sqlite3 baseball-transformed.db
cat sql/awardsshareplayers.sql | sqlite3 baseball-transformed.db
cat sql/yearlyawards.sql | sqlite3 baseball-transformed.db
cat sql/halloffame.sql | sqlite3 baseball-transformed.db
cat sql/halloffamereqs.sql | sqlite3 baseball-transformed.db
cat sql/awardsplayers.sql | sqlite3 baseball-transformed.db
cat sql/parkaliases.sql | sqlite3 baseball-transformed.db
cat sql/teamseasonshalf.sql | sqlite3 baseball-transformed.db
cat sql/managershalf.sql | sqlite3 baseball-transformed.db
cat sql/allstarstartingpos.sql | sqlite3 baseball-transformed.db
cat sql/allstars.sql | sqlite3 baseball-transformed.db
cat sql/allstargames.sql | sqlite3 baseball-transformed.db
cat sql/allstars.sql | sqlite3 baseball-transformed.db
cat sql/allstarstartingpos.sql | sqlite3 baseball-transformed.db
cat sql/appearancespost.sql | sqlite3 baseball-transformed.db
cat sql/appearances.sql | sqlite3 baseball-transformed.db
cat sql/awardsmanagers.sql | sqlite3 baseball-transformed.db
cat sql/awardsplayers.sql | sqlite3 baseball-transformed.db
cat sql/awardsshareplayers.sql | sqlite3 baseball-transformed.db
cat sql/awards.sql | sqlite3 baseball-transformed.db
cat sql/battingpost.sql | sqlite3 baseball-transformed.db
cat sql/batting.sql | sqlite3 baseball-transformed.db
cat sql/collegeplaying.sql | sqlite3 baseball-transformed.db
cat sql/fieldingofsplit.sql | sqlite3 baseball-transformed.db
cat sql/fieldingpost.sql | sqlite3 baseball-transformed.db
cat sql/fielding.sql | sqlite3 baseball-transformed.db
cat sql/franchises.sql | sqlite3 baseball-transformed.db
cat sql/halloffamereqs.sql | sqlite3 baseball-transformed.db
cat sql/halloffame.sql | sqlite3 baseball-transformed.db
cat sql/homegames.sql | sqlite3 baseball-transformed.db
cat sql/leagues.sql | sqlite3 baseball-transformed.db
cat sql/managershalf.sql | sqlite3 baseball-transformed.db
cat sql/managers.sql | sqlite3 baseball-transformed.db
cat sql/parkaliases.sql | sqlite3 baseball-transformed.db
cat sql/parks.sql | sqlite3 baseball-transformed.db
cat sql/people.sql | sqlite3 baseball-transformed.db
cat sql/pitchingpost.sql | sqlite3 baseball-transformed.db
cat sql/pitching.sql | sqlite3 baseball-transformed.db
cat sql/playerstints.sql | sqlite3 baseball-transformed.db
cat sql/salaries.sql | sqlite3 baseball-transformed.db
cat sql/schools.sql | sqlite3 baseball-transformed.db
cat sql/seasons.sql | sqlite3 baseball-transformed.db
cat sql/seriespost.sql | sqlite3 baseball-transformed.db
cat sql/teamseasonshalf.sql | sqlite3 baseball-transformed.db
cat sql/teamseasons.sql | sqlite3 baseball-transformed.db
cat sql/teams.sql | sqlite3 baseball-transformed.db
cat sql/yearlyawards.sql | sqlite3 baseball-transformed.db
baseball-raw.db:
rm -f baseball-raw.db