eurochriskelly / gaelic-cup-planner

Plan and execute gaelic football tournaments
0 stars 0 forks source link

Each competition with in a tournament should be isolated form one another #88

Closed eurochriskelly closed 2 months ago

eurochriskelly commented 2 months ago

Issue: the matchId in the fixtures is unique but really should be a compound key from category + tournament + "match number in that competion". Not doing so complicates the logic and requires pretty complex rules for importing, exporting and reporting.

All queries should include the category/competition. Otherwise, match numbers will required and additional code to track or will need to be increased by, say, 100 for me and 200 for women.

This requirement should also take the unique tournament id into consideration for all queries

Acceptance criteria: