Enums
Task
The core entity — items on the kanban board.
Relations:
labels (many-to-many via TaskLabel), team, project
User
Relations:
repositories, teamMemberships, ledProjects
Team
Relations:
members, projectTeams, tasks
TeamMember
Join table with roles.
Composite unique:
(teamId, userId)
Project
Relations:
projectTeams, tasks, lead, repository
Repository
Composite unique:
(userId, githubRepoId)
Label
Relations:
tasks (many-to-many via TaskLabel)

