Add nickname column to players table #408
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/basketball-api#408
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Standalone — discovered during GroupMe/DB cross-reference audit (2026-04-08). Players go by nicknames (Gabrielius = "Gabe", Querenne = "Q") which makes name matching against external systems (GroupMe, etc.) unreliable.
Repo
forgejo_admin/basketball-apiUser Story
As an admin
I want players to have an optional nickname field
So that I can match them across systems (GroupMe, rosters, comms) using the name people actually use
Context
During a GroupMe membership audit, we couldn't automatically match "Gabe" in GroupMe to "Gabrielius Peciulis" in the DB. This will keep happening with any name-based cross-reference. A nickname column solves it — display the nickname where available, fall back to full name otherwise.
File Targets
Files the agent should modify or create:
src/basketball_api/models.py— addnicknamefield toPlayermodel (String, nullable)alembic/versions/— new migration adding the columnsrc/basketball_api/routes/— include nickname in player serialization responsesFiles the agent should NOT touch:
Acceptance Criteria
Test Expectations
pytest tests/ -k playerConstraints
Checklist
Related
project-westside-basketball— westside basketball projectforgejo_admin/basketball-api#401— ContractStatus enum ticket (same audit session)