mpope9 / nba-sql

:basketball: An application to build an NBA database backed by MySQL, Postgres, or SQLite
Apache License 2.0
171 stars 20 forks source link

Allow for enhancement of existing DB with older seasons #109

Open Flavsditz opened 1 month ago

Flavsditz commented 1 month ago

When I first gave it a try I used the existing bash scripts. It created a new DB filled with data. When I went to explore I noticed it was from the latest season only. I went back to see if I could add another season and got some errors in the process. I would like to have the opportunity to add older seasons after I have a DB in place.

Current State: Create a DB and populate with data on first creation only. Subsequently a refresh of data is supported for the latest season

Enhancement Together with the above also add the option to load one or more specific seasons after a DB is initialized

Requirements

mpope9 commented 1 week ago

Ah yeah the bash scripts are just for testing. I believe if you use the commandline options then you can achieve what you want using the --season flag. Lemme know if that works.