# Sprint 2 Migration Notes

## Database

Run:

```bash
php artisan migrate
```

Creates `project_sprint_capacity_allocations`:

- `project_sprint_id` (FK)
- `user_id` (FK)
- `capacity_md` (decimal)

## Post-migrate

1. Open **Capacity** tab per project.
2. Select sprint and enter per-member MD (e.g. Ahmed 8, Mohamed 10, Sara 6).
3. Save allocations — assigned MD derives from sprint work items automatically.

## Backward compatibility

- Existing sprint `capacity_md` field unchanged.
- All prior project APIs remain valid; only additive routes added.
