The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
added new migration files (#13345)
Jugal D. Bhattc3cc10387ef1
diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sqlindex fb0cb661a75..6b8adc6e7e8 100644--- a/litellm-proxy-extras/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql+++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20250507161526_add_mcp_table_to_db/migration.sql@@ -15,13 +15,3 @@ CREATE TABLE "LiteLLM_MCPServerTable" (CONSTRAINT "LiteLLM_MCPServerTable_pkey" PRIMARY KEY ("server_id"));--- Migration for existing tables: rename alias to server_name if upgrading-DO $$-BEGIN- IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'LiteLLM_MCPServerTable' AND column_name = 'alias') THEN- ALTER TABLE "LiteLLM_MCPServerTable" RENAME COLUMN "alias" TO "server_name";- END IF;-END $$;--- Migration for existing tables: add alias column if upgrading-ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN IF NOT EXISTS "alias" TEXT;-diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20250806095134_rename_alias_to_server_name_mcp_table/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20250806095134_rename_alias_to_server_name_mcp_table/migration.sqlnew file mode 100644index 00000000000..11463d44b0e--- /dev/null+++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20250806095134_rename_alias_to_server_name_mcp_table/migration.sql@@ -0,0 +1,10 @@+-- Migration for existing tables: rename alias to server_name if upgrading+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'LiteLLM_MCPServerTable' AND column_name = 'alias') THEN+ ALTER TABLE "LiteLLM_MCPServerTable" RENAME COLUMN "alias" TO "server_name";+ END IF;+END $$;++-- Migration for existing tables: add alias column if upgrading+ALTER TABLE "LiteLLM_MCPServerTable" ADD COLUMN IF NOT EXISTS "alias" TEXT;\ No newline at end of file