1405acfaed26748ade9feeb5715c7bb1ae10b283
The CTE approach returned 0 rows — likely a SQLite/SQLAlchemy interaction with :user_id appearing in multiple CTEs. Reverted to the original correlated-subquery form which is proven correct. The 4 indexes added in the previous commit still apply and will make the per-channel subqueries faster once the DB is indexed on startup. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
No description provided
Languages
JavaScript
53.6%
Python
45.9%
HTML
0.2%
Dockerfile
0.2%