litellm/litellm-proxy-extras
ryan-crabbe-berri 90ba89e1cc fix(migration): add user FK as NOT VALID so no existing rows are touched
Self-hosted databases can contain keys whose user_id references a user
deleted before the constraint existed, or used as free-form attribution.
Nulling those rows was irreversible data mutation and the validating
ALTER TABLE could fail a deploy. NOT VALID adds the constraint without
reading a single existing row, enforcing only new writes; a best-effort
VALIDATE then upgrades it to fully valid on clean databases and quietly
leaves it NOT VALID where orphans exist. The migration can no longer
fail or modify data under any database state
2026-07-27 12:37:25 -07:00
..
dist adding build 2026-03-21 22:55:04 -07:00
litellm_proxy_extras fix(migration): add user FK as NOT VALID so no existing rows are touched 2026-07-27 12:37:25 -07:00
tests [Fix] v2 resolver: swallow non-connection DB errors; wrap resolve failures 2026-04-21 15:53:07 -07:00
build_and_publish.md build: migrate packaging, CI, and Docker from Poetry to uv (#25007) 2026-04-09 11:46:23 -07:00
LICENSE install prisma migration files - connects litellm proxy to litellm's prisma migration files (#9637) 2025-03-29 15:27:09 -07:00
migration_runbook.md [Infra] Add freshness and destructive guards to migration workflow 2026-04-21 12:00:23 -07:00
pyproject.toml bump: litellm-enterprise 0.1.51 -> 0.1.52, litellm-proxy-extras 0.4.80 -> 0.4.81 2026-07-25 16:28:42 -07:00
README.md build: migrate packaging, CI, and Docker from Poetry to uv (#25007) 2026-04-09 11:46:23 -07:00

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