mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
migration: create LiteLLM_TeamMemberModelSpend table
This commit is contained in:
parent
b6692ef754
commit
501271b168
1 changed files with 8 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
-- CreateTable: per-model spend rows with atomic increment support
|
||||
CREATE TABLE IF NOT EXISTS "LiteLLM_TeamMemberModelSpend" (
|
||||
"user_id" TEXT NOT NULL,
|
||||
"team_id" TEXT NOT NULL,
|
||||
"model" TEXT NOT NULL,
|
||||
"spend" DOUBLE PRECISION NOT NULL DEFAULT 0.0,
|
||||
CONSTRAINT "LiteLLM_TeamMemberModelSpend_pkey" PRIMARY KEY ("user_id", "team_id", "model")
|
||||
);
|
||||
Loading…
Add table
Reference in a new issue