open-webui/backend/open_webui/migrations
Tim Baek 599cd2eeeb feat: analytics backend API with chat_message table
- Add chat_message table for message-level analytics with usage JSON field
- Add migration to backfill from existing chats
- Add /analytics endpoints: summary, models, users, daily
- Support hourly/daily granularity for time-series data
- Fill missing days/hours in date range
2026-02-01 07:04:13 +04:00
..
versions feat: analytics backend API with chat_message table 2026-02-01 07:04:13 +04:00
env.py chore: format 2025-08-09 23:57:35 +04:00
README refac: mv backend files to /open_webui dir 2024-09-04 16:54:48 +02:00
script.py.mako wip 2024-12-10 00:54:13 -08:00
util.py feat: project migration 2024-10-01 17:35:10 -07:00

Generic single-database configuration.

Create new migrations with
DATABASE_URL=<replace with actual url> alembic revision --autogenerate -m "a description"