730 B
730 B
title, status, type, created_at, updated_at, parent
| title | status | type | created_at | updated_at | parent |
|---|---|---|---|---|---|
| Add is_admin column to users table | todo | task | 2026-03-21T10:06:19Z | 2026-03-21T10:06:19Z | nuzlocke-tracker-ce4o |
Add an is_admin boolean column (default false) to the users table via an Alembic migration.
Checklist
- Create Alembic migration adding
is_admin: Mapped[bool]column withserver_default="false" - Update
Usermodel inbackend/src/app/models/user.py - Run migration and verify column exists
- Seed a test admin user (or document how to set
is_admin=truevia SQL)
Files to change
backend/src/app/models/user.py— addis_adminfieldbackend/src/app/alembic/versions/— new migration