Database & Migrations
Database development guide for eval_752.
Technology
- PostgreSQL 14+ - Database
- SQLAlchemy - ORM
- Alembic - Migrations
Creating Migrations
Best Practices
- Always review auto-generated migrations
- Test both up and down migrations
- Avoid data loss with multi-step migrations
- Document breaking changes
Models
Models live in backend/src/eval_752/infra/models/:
See existing models for patterns and conventions.
