feat(proxy): add LiteLLM_CasbinRule migration for auth_v2

This commit is contained in:
ryan-crabbe-berri 2026-06-04 20:51:30 -07:00
parent e0c5fca9fe
commit d2ab6197eb

View file

@ -0,0 +1,16 @@
-- CreateTable
CREATE TABLE IF NOT EXISTS "LiteLLM_CasbinRule" (
"id" SERIAL NOT NULL,
"ptype" TEXT NOT NULL,
"v0" TEXT,
"v1" TEXT,
"v2" TEXT,
"v3" TEXT,
"v4" TEXT,
"v5" TEXT,
CONSTRAINT "LiteLLM_CasbinRule_pkey" PRIMARY KEY ("id")
);
-- CreateIndex
CREATE INDEX IF NOT EXISTS "LiteLLM_CasbinRule_ptype_idx" ON "LiteLLM_CasbinRule"("ptype");