strat-gameplay-webapp/backend/alembic/versions
Cal Corum a22513b053 CLAUDE: Add schedule_game_id linking for webapp games to external schedules
Enables precise tracking of which webapp games correspond to specific
scheduled matchups from SBA/PD league systems.

Backend:
- Add schedule_game_id column to games table with index
- Create Alembic migration for the new column
- Update QuickCreateRequest to accept schedule_game_id
- Update GameListItem response to include schedule_game_id
- Update DatabaseOperations.create_game() to store the link

Frontend:
- Pass schedule_game_id when creating game from "Play" button
- Add activeScheduleGameMap to track webapp games by schedule ID
- Show "In Progress" (green) link for active games
- Show "Resume" (green) link for pending games
- Show "Play" (blue) button for unstarted games

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-14 23:55:53 -06:00
..
62bd3195c64c_add_schedule_game_id_to_games.py CLAUDE: Add schedule_game_id linking for webapp games to external schedules 2026-01-14 23:55:53 -06:00
001_initial_schema.py CLAUDE: Add Alembic migrations and database session injection 2025-11-28 12:09:09 -06:00
004_create_stat_materialized_views.py CLAUDE: Add Alembic migrations and database session injection 2025-11-28 12:09:09 -06:00
005_add_composite_indexes.py CLAUDE: Add Alembic migrations and database session injection 2025-11-28 12:09:09 -06:00