<!-- denbust-review:database-schema-missing-column --> Database persistence is failing due to a missing column in the discovery_runs table. **Error Details:** ``` HTTPStatusError: Client error '400 Bad Request' PGRST204: Could not find the 'skipped_query_count' column of 'discovery_runs' in the schema cache ``` **Impact:** - Source native candidate persistence is failing - May affect historical tracking and analytics **Next Steps:** - Add missing 'skipped_query_count' column to discovery_runs table schema - Update database migration scripts - Verify all required columns are present in production schema ### Review context - Run timestamp: `2026-06-06T06:55:40.086791+00:00` - Run snapshot: `state_repo/news_items/ingest/runs/2026-06-06T06-55-40-086791Z.json` - Debug summary: `state_repo/news_items/ingest/logs/2026-06-06T06-55-40-086791Z.summary.json` - Debug log: `state_repo/news_items/ingest/logs/2026-06-06T06-55-40-086791Z.json` - Workflow run: https://github.com/DataHackIL/tfht_enforce_idx/actions/runs/27055522867
Database persistence is failing due to a missing column in the discovery_runs table.
Error Details:
Impact:
Next Steps:
Review context
Run timestamp:
2026-06-06T06:55:40.086791+00:00Run snapshot:
state_repo/news_items/ingest/runs/2026-06-06T06-55-40-086791Z.jsonDebug summary:
state_repo/news_items/ingest/logs/2026-06-06T06-55-40-086791Z.summary.jsonDebug log:
state_repo/news_items/ingest/logs/2026-06-06T06-55-40-086791Z.jsonWorkflow run: https://github.com/DataHackIL/tfht_enforce_idx/actions/runs/27055522867