claude-memory/graph/fixes/added-default-order-by-id-to-battingcardratingsselect-in-lis-6423a9.md
Cal Corum b140d4d82a migrate: 313 memories from MemoryGraph
- 313 new markdown files created
- 30 relationships embedded
- 313 entries indexed
- State initialized with usage data
2026-02-13 11:11:48 -06:00

632 B

id type title tags importance confidence created updated
6423a9be-ea47-4a14-a963-86e24c4c71ce fix Added default ORDER BY id to BattingCardRatings.select() in list endpoints
paper-dynasty
python
postgresql
migration
0.7 0.8 2026-02-01T01:32:28.767585+00:00 2026-02-01T01:32:28.767585+00:00

Updated battingcardratings.py to add .order_by(BattingCardRatings.id) to three SELECT queries for PostgreSQL compatibility: (1) get_card_ratings() at line 173, (2) get_scouting_dfs() at line 215, (3) get_player_ratings() at line 689-691. This ensures consistent row ordering across SQLite and PostgreSQL databases.