Soldato
- Joined
- 27 Dec 2005
- Posts
- 17,315
- Location
- Bristol
I'm making a website to digitise a local boules league. Has anyone made a league database before, and is there anything I'm missing?
Teams play in various leagues (not ranked, just groups) with the two top teams going into a knockout. The knockout needn't be digitised on the fly as it's all played on one day but it would be good to log the results and show the overall winner etc.
Any tips? Should I also have a LEAGUE table or is it ok to calculate positions every time based on the MATCHES database?
Any tips appreciated!
Teams play in various leagues (not ranked, just groups) with the two top teams going into a knockout. The knockout needn't be digitised on the fly as it's all played on one day but it would be good to log the results and show the overall winner etc.
Any tips? Should I also have a LEAGUE table or is it ok to calculate positions every time based on the MATCHES database?
Code:
TEAMS
id
email
password
name
league
MATCHES
id
date
team1
team2
score1
score2
difference
winner
Any tips appreciated!