Files
nuzlocke-tracker/.beans/nuzlocke-tracker-zmvy--add-game-id-field-to-bossbattle-for-version-exclus.md
Julian Tabel d8fb6c328c
All checks were successful
CI / backend-lint (pull_request) Successful in 8s
CI / frontend-lint (pull_request) Successful in 30s
Add game_id FK to BossBattle for version-exclusive bosses
Version-exclusive bosses (e.g., Bea in Sword, Allister in Shield) were
using the section field to indicate which game they belong to. This adds
a proper game_id foreign key so the API can filter bosses per game,
keeping section free for visual grouping like "Main Story".

- Alembic migration adds nullable game_id column with FK and index
- API list_bosses filters by game_id unless ?all=true is passed
- Seed data updated to use game_slug instead of section overloading
- Admin form adds "Game (version exclusive)" dropdown
- Export endpoints include game_slug for exclusive bosses

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 11:00:48 +01:00

348 B

title, status, type, priority, created_at, updated_at
title status type priority created_at updated_at
Add game_id field to BossBattle for version-exclusive bosses completed feature normal 2026-02-14T09:47:40Z 2026-02-14T09:52:59Z

Add a proper game_id FK to BossBattle so version-exclusive bosses can be filtered per game instead of overloading the section field.