Skip to content

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]

build: add new migration file

Krrish Dholakia0ae74aca8836
diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20251101123718_add_vector_store_index_table/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20251101123718_add_vector_store_index_table/migration.sql
new file mode 100644
index 00000000000..8b9048002e2
--- /dev/null
+++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20251101123718_add_vector_store_index_table/migration.sql
@@ -0,0 +1,17 @@
+-- CreateTable
+CREATE TABLE "LiteLLM_IndexTable" (
+ "id" TEXT NOT NULL,
+ "index_name" TEXT NOT NULL,
+ "litellm_params" JSONB NOT NULL,
+ "index_info" JSONB,
+ "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ "created_by" TEXT,
+ "updated_at" TIMESTAMP(3) NOT NULL,
+ "updated_by" TEXT,
+
+ CONSTRAINT "LiteLLM_IndexTable_pkey" PRIMARY KEY ("id")
+);
+
+-- CreateIndex
+CREATE UNIQUE INDEX "LiteLLM_IndexTable_index_name_key" ON "LiteLLM_IndexTable"("index_name");
+