mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-05 10:24:03 +00:00
build(schema.prisma): add proxy model table to prisma schema
This commit is contained in:
@@ -27,6 +27,18 @@ model LiteLLM_BudgetTable {
|
||||
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
|
||||
}
|
||||
|
||||
// Models on proxy
|
||||
model LiteLLM_ProxyModelTable {
|
||||
model_id String @id @default(uuid())
|
||||
model_name String
|
||||
litellm_params Json
|
||||
model_info Json?
|
||||
created_at DateTime @default(now()) @map("created_at")
|
||||
created_by String
|
||||
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
updated_by String
|
||||
}
|
||||
|
||||
model LiteLLM_OrganizationTable {
|
||||
organization_id String @id @default(uuid())
|
||||
organization_alias String
|
||||
@@ -174,4 +186,4 @@ model LiteLLM_UserNotifications {
|
||||
models String[]
|
||||
justification String
|
||||
status String // approved, disapproved, pending
|
||||
}
|
||||
}
|
||||
@@ -27,6 +27,18 @@ model LiteLLM_BudgetTable {
|
||||
end_users LiteLLM_EndUserTable[] // multiple end-users can have the same budget
|
||||
}
|
||||
|
||||
// Models on proxy
|
||||
model LiteLLM_ProxyModelTable {
|
||||
model_id String @id @default(uuid())
|
||||
model_name String
|
||||
litellm_params Json
|
||||
model_info Json?
|
||||
created_at DateTime @default(now()) @map("created_at")
|
||||
created_by String
|
||||
updated_at DateTime @default(now()) @updatedAt @map("updated_at")
|
||||
updated_by String
|
||||
}
|
||||
|
||||
model LiteLLM_OrganizationTable {
|
||||
organization_id String @id @default(uuid())
|
||||
organization_alias String
|
||||
|
||||
Reference in New Issue
Block a user