I've got a sports stats script but am having trouble with my database design. I want to be able to show previous season stats as well as the current season.
When game stats are entered into the database, they are stored with the team id, but I realized that if a team ever changes their name, the stats in the previous season will show the new name (which no one will recognize). Similar problem with divisions, as they may change each season as well.
So now I'm feeling my database design is flawed and am wondering if there is a way to fix the above problem, or will I need a separate databse for each season?
Any advice would be greatly appreciated.
Thanks, jonZy 😃