fix: Snapshot-SQL — RoadmapItem-Spalten nach JOIN qualifizieren
All checks were successful
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 1m29s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 15s
All checks were successful
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 1m29s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 15s
Behebt psycopg2 AmbiguousColumn (id/title) bei steering-snapshot nach AP1.4. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
0addcfb382
commit
4d1c33bf18
|
|
@ -99,8 +99,8 @@ def get_initiative_steering_snapshot(
|
|||
|
||||
cur.execute(
|
||||
"""
|
||||
SELECT id, title, status, target_date, item_type, sequencing_mode,
|
||||
sort_order, created_at, updated_at
|
||||
SELECT ri.id, ri.title, ri.status, ri.target_date, ri.item_type,
|
||||
ri.sequencing_mode, ri.sort_order, ri.created_at, ri.updated_at
|
||||
FROM roadmap_items ri
|
||||
JOIN roadmaps r ON r.id = ri.roadmap_id AND r.tenant_id = ri.tenant_id
|
||||
WHERE ri.tenant_id = %s AND r.initiative_id = %s
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user