Routes and boss battles now belong to a version_group instead of individual games, so paired versions (e.g. Red/Blue, Gold/Silver) share the same route structure and boss battles. Route encounters gain a game_id column to support game-specific encounter tables within a shared route. Includes migration, updated seeds, API changes, and frontend type updates. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
730 B
730 B
title, status, type, priority, created_at, updated_at
| title | status | type | priority | created_at | updated_at |
|---|---|---|---|---|---|
| Add version_groups table, share routes & boss battles across version groups | completed | feature | normal | 2026-02-08T10:39:00Z | 2026-02-08T10:46:43Z |
Introduce version_groups table and re-parent routes and boss_battles from game_id to version_group_id. Add game_id to route_encounters for per-game encounter data.
Checklist
- Phase 1: Backend models (VersionGroup, Game, Route, RouteEncounter, BossBattle)
- Phase 2: Alembic migration
- Phase 3: Backend schemas
- Phase 4: Backend API updates
- Phase 5: Seed loader updates
- Phase 6: Frontend type/API/hook updates
- Verification: migration runs, TypeScript compiles