Files
hapi/.scratch/mvp-issues/02a-alembic-migration-framework.md
T
2026-11-17 14:39:40 -05:00

674 B

02a: Alembic Migration Framework

What to build: Alembic configured and running with additive-by-default migrations, destructive changes behind flags.

Blocked by: 01a (Linode Infrastructure with Terraform)

Status: ready-for-agent

  • Alembic initialized in FastAPI project (alembic init)
  • alembic.ini configured with environment-specific URLs (staging/production)
  • First migration created (empty schema or minimal users table)
  • Migration applied to staging database
  • Migration applied to production database
  • Migration rollback tested (alembic downgrade + upgrade)
  • CI workflow step added to run migrations on deploy