claude-memory/graph/fixes/added-default-ordering-to-stratplay-list-endpoint-e22444.md
Cal Corum 34bb613c57 Add 20 retroactive edges and sync pending memory updates
- 20 new high-quality edges across 8 project clusters
- Edge types: BUILDS_ON, RELATED_TO, ALTERNATIVE_TO, REQUIRES
- Updated relation metadata on connected memories
- New episode entries and memory files from recent sessions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 23:34:07 -06:00

19 lines
755 B
Markdown

---
id: e2244428-f4e6-4f62-ab84-f81e395a8473
type: fix
title: "Added default ordering to StratPlay list endpoint"
tags: [paper-dynasty, postgresql, migration]
importance: 0.6
confidence: 0.8
created: "2026-02-01T01:31:38.558200+00:00"
updated: "2026-02-20T04:32:26.261595+00:00"
relations:
- target: 1679f2be-c8ff-4762-99b1-0978bd753c47
type: RELATED_TO
direction: incoming
strength: 0.85
edge_id: 1f4f5437-82b5-4e47-86ae-808a913cabaa
---
Added .order_by(StratPlay.id) to StratPlay.select() in the GET list endpoint (line 180 of stratplays.py). This ensures consistent row ordering when querying StratPlay records, which is critical for PostgreSQL compatibility where result ordering is not guaranteed without explicit ORDER BY clause.