diff --git a/litellm-proxy-extras/litellm_proxy_extras/migrations/20260131_add_team_user_to_vector_stores/migration.sql b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260131_add_team_user_to_vector_stores/migration.sql new file mode 100644 index 00000000000..f6b32e14bf0 --- /dev/null +++ b/litellm-proxy-extras/litellm_proxy_extras/migrations/20260131_add_team_user_to_vector_stores/migration.sql @@ -0,0 +1,9 @@ +-- AlterTable +ALTER TABLE "LiteLLM_ManagedVectorStoresTable" ADD COLUMN "team_id" TEXT, +ADD COLUMN "user_id" TEXT; + +-- CreateIndex +CREATE INDEX "LiteLLM_ManagedVectorStoresTable_team_id_idx" ON "LiteLLM_ManagedVectorStoresTable"("team_id"); + +-- CreateIndex +CREATE INDEX "LiteLLM_ManagedVectorStoresTable_user_id_idx" ON "LiteLLM_ManagedVectorStoresTable"("user_id");