mirror of
https://github.com/BerriAI/litellm.git
synced 2026-12-01 01:18:34 +00:00
PostgreSQL rejects CREATE INDEX CONCURRENTLY on a partitioned parent, so migration 20260831120001 failed with P3018 after db_scripts/partition_spend_logs.sql and the proxy could not boot. Build the index with a plain CREATE INDEX IF NOT EXISTS, guard it with a migration SQL check, a Postgres-backed partitioned-table test and a migration e2e upgrade test. Fixes #41548 Co-authored-by: leilei3167 <imleilei123@gmail.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| dist | ||
| litellm_proxy_extras | ||
| tests | ||
| build_and_publish.md | ||
| LICENSE | ||
| migration_runbook.md | ||
| pyproject.toml | ||
| README.md | ||
Additional files for the proxy. Reduces the size of the main litellm package.
Currently, only stores the migration.sql files for litellm-proxy.
To install, run:
uv add litellm-proxy-extras
OR
uv tool install 'litellm[proxy]' # installs litellm-proxy-extras and other proxy dependencies
To use the migrations, run:
litellm --use_prisma_migrate