paper-dynasty-database/app/routers_v2
Cal Corum 09924faea5 Normalize Player.franchise to city-agnostic values
- Add SQL migration script to update all franchise values
- Change AI roster queries from Team.lname to Team.sname
- Add FRANCHISE_NORMALIZE helper for bulk imports
- Update St Louis Cardinals hardcoded fix

Enables cross-era player matching for AI rosters (fixes Oakland Athletics issue)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-07 12:00:45 -06:00
..
__init__.py Initial Commit with /current 2023-09-13 14:44:26 -05:00
admin.py Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
awards.py Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
batstats.py Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
battingcardratings.py Clean up root_validators 2024-11-03 01:46:40 -05:00
battingcards.py Add support for exhibition games 2024-07-14 13:23:15 -05:00
cardpositions.py Clean up root_validators 2024-11-03 01:46:40 -05:00
cards.py Adding card variant support 2025-07-22 09:26:23 -05:00
cardsets.py Added search endpoints 2025-10-08 14:21:44 -05:00
current.py Support for Exhibition games & Swagger updates 2024-07-11 15:07:23 -05:00
decisions.py Update decisions.py 2023-10-31 14:46:31 -05:00
events.py Import cleanup 2023-09-14 22:11:31 -05:00
gamerewards.py Import cleanup 2023-09-14 22:11:31 -05:00
gauntletrewards.py Update gauntletrewards.py 2023-10-22 23:21:02 -05:00
gauntletruns.py Import cleanup 2023-09-14 22:11:31 -05:00
mlbplayers.py Log mlbplayer dupes 2024-11-02 23:44:32 -05:00
notifications.py Import cleanup 2023-09-14 22:11:31 -05:00
packs.py Allow resetting choice packs 2023-10-24 18:32:15 -05:00
packtypes.py Added cardsets, packs, packtypes, players 2023-09-13 16:19:56 -05:00
paperdex.py Import cleanup 2023-09-14 22:11:31 -05:00
pitchingcardratings.py Clean up root_validators 2024-11-03 01:46:40 -05:00
pitchingcards.py Pitching card updates for card gen 2023-09-25 00:19:41 -05:00
pitstats.py Pre-Season 6 Updates 2023-10-19 23:16:47 -05:00
players.py Normalize Player.franchise to city-agnostic values 2026-01-07 12:00:45 -06:00
rarity.py Added teams & rarity 2023-09-13 15:12:44 -05:00
results.py Add battingcards & bugfixes 2023-09-15 00:01:30 -05:00
rewards.py Import cleanup 2023-09-14 22:11:31 -05:00
scouting.py Scouting tables added to db 2023-09-22 01:29:35 -05:00
stratgame.py Clean up root_validators 2024-11-03 01:46:40 -05:00
stratplays.py Add poop_max to game summary 2024-12-23 10:14:02 -06:00
teams.py Normalize Player.franchise to city-agnostic values 2026-01-07 12:00:45 -06:00