From bec093675c8cd12ec277693679b4c49785053548 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 26 Mar 2024 17:03:21 -0700 Subject: [PATCH] build(schema.prisma): update schema to enable team blocking --- litellm/proxy/schema.prisma | 2 ++ schema.prisma | 2 ++ 2 files changed, 4 insertions(+) diff --git a/litellm/proxy/schema.prisma b/litellm/proxy/schema.prisma index cccad973a..598848776 100644 --- a/litellm/proxy/schema.prisma +++ b/litellm/proxy/schema.prisma @@ -55,6 +55,7 @@ model LiteLLM_ModelTable { team LiteLLM_TeamTable? } + // Assign prod keys to groups, not individuals model LiteLLM_TeamTable { team_id String @id @default(uuid()) @@ -72,6 +73,7 @@ model LiteLLM_TeamTable { rpm_limit BigInt? budget_duration String? budget_reset_at DateTime? + blocked Boolean @default(false) created_at DateTime @default(now()) @map("created_at") updated_at DateTime @default(now()) @updatedAt @map("updated_at") model_spend Json @default("{}") diff --git a/schema.prisma b/schema.prisma index cccad973a..598848776 100644 --- a/schema.prisma +++ b/schema.prisma @@ -55,6 +55,7 @@ model LiteLLM_ModelTable { team LiteLLM_TeamTable? } + // Assign prod keys to groups, not individuals model LiteLLM_TeamTable { team_id String @id @default(uuid()) @@ -72,6 +73,7 @@ model LiteLLM_TeamTable { rpm_limit BigInt? budget_duration String? budget_reset_at DateTime? + blocked Boolean @default(false) created_at DateTime @default(now()) @map("created_at") updated_at DateTime @default(now()) @updatedAt @map("updated_at") model_spend Json @default("{}")