9 Commits

Author SHA1 Message Date
b0e653ab0d Add one to one relationship between Coach and Team.
A Coach is parent, Team is child.
A Coach can exist on his own, without a Team, but a Team cannot play without a Coach.
2025-04-07 11:21:48 +02:00
804943486f Add relationship and foreign key configurations between Match and Team. 2025-04-07 11:09:42 +02:00
e852f09f09 Make relation of League to Team nullable. 2025-04-07 10:44:41 +02:00
a0733b4ebb Add relationship between League and Team. 2025-04-07 10:43:14 +02:00
278064b19b Remove Team ID from Team model.
This is done to create a proper change to let Id now be the Primary Key.
2025-04-06 20:10:36 +02:00
f137595a5a Add migration to add Match and League entities. 2025-04-06 20:06:01 +02:00
4175eea10c Provide Team model with LeagueId and CoachId. 2025-04-06 11:35:10 +02:00
ba3c65d7a1 Move Id to BaseDomainModel and replace TeamId with regular Id. 2025-04-06 11:27:13 +02:00
5e688a24d5 Add models for BaseDomainModel, Coach and Team. 2025-04-04 15:41:45 +02:00