paper-dynasty-database/migrations
Cal Corum 5003b459e6 fix: refactor Roster from 26 FK columns to RosterSlot junction table (#29)
- Remove card_1..card_26 FK columns from Roster ORM model
- Add RosterSlot model with (roster, slot, card) and a unique index on (roster, slot)
- Activate get_cards() helper on Roster using the new junction table
- Register RosterSlot in create_tables for SQLite dev environments
- Add migrations/migrate_roster_junction_table.py to backfill existing data

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-04 09:33:13 -06:00
..
migrate_roster_junction_table.py fix: refactor Roster from 26 FK columns to RosterSlot junction table (#29) 2026-03-04 09:33:13 -06:00