aac1181f3dc63d55a73b7bfcd4be2cb720f3da38
- Use denormalized d.product_count instead of JOIN to store_products - Remove expensive per-product aggregations (avg_price, brand counts, stock) - Query now runs in <100ms instead of 7.5s The massive JOIN between dispensaries and store_products was causing the slow load. State metrics now use pre-computed product_count column. 🤖 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%