fix(synthesis): Use correct column name 'id' instead of 'execution_id'
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -433,10 +433,8 @@ Generate a complete synthesis with actionable insights.
|
|||||||
"""Store synthesis in database."""
|
"""Store synthesis in database."""
|
||||||
await self.pool.execute("""
|
await self.pool.execute("""
|
||||||
UPDATE pipeline.executions
|
UPDATE pipeline.executions
|
||||||
SET
|
SET synthesis = $2
|
||||||
synthesis = $2,
|
WHERE id = $1::uuid
|
||||||
updated_at = NOW()
|
|
||||||
WHERE execution_id = $1::uuid
|
|
||||||
""", execution_id, json.dumps({
|
""", execution_id, json.dumps({
|
||||||
"executive_narrative": synthesis.executive_narrative,
|
"executive_narrative": synthesis.executive_narrative,
|
||||||
"sentiment_insight": synthesis.sentiment_insight,
|
"sentiment_insight": synthesis.sentiment_insight,
|
||||||
|
|||||||
Reference in New Issue
Block a user