Major Domo Database - PostgreSQL database service for SBA bot
Go to file
Cal Corum a3f84ac935 CLAUDE: Add team roster cache invalidation to all player mutations
- Fix unsafe dict access in PUT endpoint roster cache invalidation
- Add roster cache invalidation to PATCH, POST, and DELETE endpoints
- Use wildcard pattern to invalidate all roster caches since:
  * Team IDs may change in PUT/PATCH operations
  * Multiple teams affected in bulk POST operations
  * Ensures stale roster data is never served

This ensures team rosters are immediately updated when players are
added, removed, or transferred between teams.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 17:08:43 -05:00
.claude Added SeasonPitchingStats 2025-08-26 00:17:57 -05:00
app CLAUDE: Add team roster cache invalidation to all player mutations 2025-10-23 17:08:43 -05:00
scripts CLAUDE: Add --clean flag to production database sync 2025-10-23 16:52:42 -05:00
test-storage CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
.dockerignore Adding Git and Docker files 2023-02-21 11:53:02 -06:00
.env Local migration fully functional 2025-08-20 09:52:46 -05:00
.gitignore Local migration fully functional 2025-08-20 09:52:46 -05:00
=2.9.0 CLAUDE: Phase 1 PostgreSQL migration fixes complete 2025-08-18 18:09:45 -05:00
CLAUDE.md CLAUDE: Complete PostgreSQL migration for custom commands 2025-10-23 16:07:18 -05:00
db_engine.py DB Error Handling 2025-08-20 19:33:40 -05:00
docker-compose.yml Add Redis Caching 2025-08-27 22:49:37 -05:00
Dockerfile Local migration fully functional 2025-08-20 09:52:46 -05:00
Dockerfile.optimized Postgres Query Updates 2025-08-25 07:19:13 -05:00
LICENSE Initial commit 2023-02-19 21:42:32 -06:00
main.py Merge pull request #2 from calcorum/api-rebuild 2023-07-24 23:06:53 -05:00
migrate_custom_commands.py CLAUDE: Add custom commands system with migration from legacy database 2025-08-17 16:31:39 -05:00
migrations.py Season 9 Additions 2024-01-14 22:44:23 -06:00
pd_master.db Logging updates 2024-12-16 09:03:23 -06:00
requirements.txt Add Redis Caching 2025-08-27 22:49:37 -05:00