diff --git a/schema.prisma b/schema.prisma index 7ea375a554..08aa564525 100644 --- a/schema.prisma +++ b/schema.prisma @@ -142,6 +142,7 @@ model LiteLLM_TeamTable { access_group_ids String[] @default([]) policies String[] @default([]) default_team_member_models String[] @default([]) // default allowed_models for newly added team members; empty = no per-member restriction + budget_limits Json? // per-model budget limits for the team model_id Int? @unique // id for LiteLLM_ModelTable -> stores team-level model aliases allow_team_guardrail_config Boolean @default(false) // if true, team admin can configure guardrails for this team litellm_organization_table LiteLLM_OrganizationTable? @relation(fields: [organization_id], references: [organization_id]) @@ -403,6 +404,7 @@ model LiteLLM_VerificationToken { rotation_interval String? // How often to rotate (e.g., "30d", "90d") last_rotation_at DateTime? // When this key was last rotated key_rotation_at DateTime? // When this key should next be rotated + budget_limits Json? // per-model budget limits for the key litellm_budget_table LiteLLM_BudgetTable? @relation(fields: [budget_id], references: [budget_id]) litellm_organization_table LiteLLM_OrganizationTable? @relation(fields: [organization_id], references: [organization_id]) litellm_project_table LiteLLM_ProjectTable? @relation(fields: [project_id], references: [project_id])