mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
feat(proxy): add LiteLLM_CasbinRule migration for auth_v2
This commit is contained in:
parent
e0c5fca9fe
commit
d2ab6197eb
1 changed files with 16 additions and 0 deletions
|
|
@ -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");
|
||||
Loading…
Add table
Reference in a new issue