<!-- Parent: ../AGENTS.md -->
<!-- Generated: 2026-07-02 | Updated: 2026-07-02 -->

# migrations

## Purpose
Doctrine schema migrations (doctrine-migrations-bundle). Each versioned class applies (`up`) and reverts (`down`) schema changes.

## Key Files
| File | Description |
|------|-------------|
| `Version20260308133356.php` | Initial schema migration |
| `Version20260308143046.php` | Follow-up schema migration |

## For AI Agents

### Working In This Directory
- **Do not hand-write migrations.** After changing an entity in `src/Entity/`, run `php bin/console make:migration` and review the generated diff.
- Apply with `php bin/console doctrine:migrations:migrate`.
- Never edit an already-applied migration; create a new one instead.

### Testing Requirements
- Verify `up` then `down` both run cleanly on a scratch database before merging.

## Dependencies

### Internal
- Generated from `src/Entity/` mappings.

### External
- `doctrine/doctrine-migrations-bundle`, Doctrine DBAL 3.

<!-- MANUAL: -->
