Add migration script

This commit is contained in:
Sameer Kankute 2026-04-29 12:30:10 +05:30
parent 814e785ffb
commit b5c60d8873
No known key found for this signature in database

View File

@ -1,6 +1,2 @@
-- Search tool allowlists live on LiteLLM_ObjectPermissionTable (with agents, MCP, vector stores).
ALTER TABLE "LiteLLM_ObjectPermissionTable" ADD COLUMN IF NOT EXISTS "search_tools" TEXT[] DEFAULT ARRAY[]::TEXT[];
-- Unshipped columns: drop if present (e.g. local DBs that had previous Prisma migrate).
ALTER TABLE "LiteLLM_TeamTable" DROP COLUMN IF EXISTS "allowed_search_tools";
ALTER TABLE "LiteLLM_VerificationToken" DROP COLUMN IF EXISTS "allowed_search_tools";