cc-dashboard/alembic
Vadym Samoilenko d6aea758f0 feat: composite DB indexes + admin recompute-stats endpoint
- Migration 0004: composite indexes (user_id, date) on sessions and
  daily_stats; (user_id, start_at, end_at) on planned_blocks and
  manual_entries — speeds up calendar and monthly/dow queries
- admin POST /recompute-stats: recomputes all DailyStat records from raw
  session wall-clock intervals; use once after upgrading to fix historical
  data that was stored as active_hours

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-06 18:49:14 +01:00
..
versions feat: composite DB indexes + admin recompute-stats endpoint 2026-05-06 18:49:14 +01:00
alembic.ini Initial commit — CC Dashboard v1.0 2026-03-26 12:54:47 +00:00
env.py Initial commit — CC Dashboard v1.0 2026-03-26 12:54:47 +00:00