Add a uuid column to the agents table schema
Open
- Dominant language
- Python
- Stars
- 670
- Forks
- 183
- Avg merge
- 15h 13m
- Merged PRs (30d)
- 368
Description
Add a uuid column to the agents table. The existing varchar(64) primary key is kept as-is.
- Column: uuid, UUID type (GUID), UNIQUE, server_default uuid_generate_v4() following the existing pattern in models/base.py.
- Update the ORM model (AgentRow).
- Alembic migration that adds the column and backfills existing rows.
JIRA Issue: BA-7212
Contributor guide
Research direction
Start by reading the existing UUID pattern in models/base.py and locating the AgentRow ORM model. Then review the relevant Alembic migration structure and verify that the migration adds the unique UUID column, backfills existing agents, and preserves the varchar(64) primary key.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100