It may be useful to add an 'is_captain' boolean to the user schema. Knowing who the captain is on a team will be helpful to users, and it will be far more practical to have a simple boolean to read rather than comparing the team_captain field of all teams to every user each time we need to know.
It may be useful to add an 'is_captain' boolean to the user schema. Knowing who the captain is on a team will be helpful to users, and it will be far more practical to have a simple boolean to read rather than comparing the team_captain field of all teams to every user each time we need to know.