build(schema.prisma): update schema to enable team blocking

This commit is contained in:
Krrish Dholakia 2024-03-26 17:03:21 -07:00
parent 7eb2c7942c
commit bec093675c
2 changed files with 4 additions and 0 deletions

View file

@ -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("{}")