chore: sync schema.prisma copies from root

This commit is contained in:
github-actions[bot] 2026-07-13 23:05:12 +00:00 • committed by Yucheng Zhu
parent 30fe7b4a12
commit 12555ba8c7
2 changed files with 44 additions and 2 deletions

View file

@ -30,7 +30,28 @@ model LiteLLM_BudgetTable {
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
tags LiteLLM_TagTable[] // multiple tags can have the same budget
team_membership LiteLLM_TeamMembership[] // budgets of Users within a Team
organization_membership LiteLLM_OrganizationMembership[] // budgets of Users within a Organization
organization_membership LiteLLM_OrganizationMembership[] // budgets of Users within a Organization
}
// Admin-registered PTU reservations: flat prepaid cost for a (team, model) window
model LiteLLM_PTUReservation {
id String @id @default(uuid())
team_id String
model String
cost_source String @default("manual")
ptu_count Int?
cost_per_ptu Float?
azure_resource_id String?
effective_from DateTime
effective_to DateTime?
created_by String
created_at DateTime @default(now()) @map("created_at")
updated_by String
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
@@index([team_id, model, effective_from])
@@index([cost_source, azure_resource_id])
@@index([effective_from, effective_to])
}
// Models on proxy

View file

@ -30,7 +30,28 @@ model LiteLLM_BudgetTable {
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
tags LiteLLM_TagTable[] // multiple tags can have the same budget
team_membership LiteLLM_TeamMembership[] // budgets of Users within a Team
organization_membership LiteLLM_OrganizationMembership[] // budgets of Users within a Organization
organization_membership LiteLLM_OrganizationMembership[] // budgets of Users within a Organization
}
// Admin-registered PTU reservations: flat prepaid cost for a (team, model) window
model LiteLLM_PTUReservation {
id String @id @default(uuid())
team_id String
model String
cost_source String @default("manual")
ptu_count Int?
cost_per_ptu Float?
azure_resource_id String?
effective_from DateTime
effective_to DateTime?
created_by String
created_at DateTime @default(now()) @map("created_at")
updated_by String
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
@@index([team_id, model, effective_from])
@@index([cost_source, azure_resource_id])
@@index([effective_from, effective_to])
}
// Models on proxy