9647f94f89af0f08f4088d1f6d4fdcc7dbcb02d4
- Dockerfile: Add COPY migrations ./migrations so auto-migrate works on remote - intelligence.ts: Fix FILTER clause placement in aggregate functions - FILTER must be inside AVG(), not wrapping ROUND() - Remove redundant FILTER on MIN (already filtered by WHERE) - Remove unsupported FILTER on PERCENTILE_CONT These fixes resolve: - "Failed to get task counts" (worker_tasks table missing) - "FILTER specified but round is not an aggregate function" errors - /national page "column m.state does not exist" (mv_state_metrics missing) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CI/CD enabled
test trigger
CI trigger
Description
Languages
TypeScript
55.3%
JavaScript
38.8%
PLpgSQL
3.5%
PHP
1.3%
Python
0.5%
Other
0.5%