claude-memory/graph/fixes/added-default-ordering-to-pitchingstat-list-endpoint-08952b.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

13 lines
542 B
Markdown

---
id: 08952bac-ce99-4b92-b9d9-edc9237c6bc6
type: fix
title: "Added default ordering to PitchingStat list endpoint"
tags: [paper-dynasty, postgresql, migration, ordering]
importance: 0.6
confidence: 0.8
created: "2026-02-01T01:31:43.245752+00:00"
updated: "2026-02-01T01:31:43.245752+00:00"
---
Added .order_by(PitchingStat.id) to the main GET list endpoint in pitstats.py (line 61) to ensure consistent row ordering for PostgreSQL compatibility. The query now reads: PitchingStat.select().join(Card).join(Player).order_by(PitchingStat.id)