chore: sync schema.prisma copies from root

This commit is contained in:
github-actions[bot] 2026-04-01 17:27:32 +00:00
parent 169cd29f8f
commit fe04ce6bee
2 changed files with 10 additions and 10 deletions

View file

@ -321,11 +321,12 @@ model LiteLLM_MCPServerTable {
byok_description String[] @default([])
byok_api_key_help_url String?
source_url String?
approval_status String? @default("active")
submitted_by String?
submitted_at DateTime?
reviewed_at DateTime?
review_notes String?
// BYOM submission lifecycle
approval_status String? @default("active")
submitted_by String?
submitted_at DateTime?
reviewed_at DateTime?
review_notes String?
@@index([approval_status])
}
@ -386,7 +387,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
key_rotation_email String? // Override email for rotation notifications (useful for service accounts)
key_rotation_email String? // Override email for rotation notifications (useful for service accounts)
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])

View file

@ -409,7 +409,6 @@ model LiteLLM_JWTKeyMapping {
id String @id @default(uuid())
jwt_claim_name String // e.g. "sub", "email"
jwt_claim_value String // The claim value to match
issuer String @default("") // JWT "iss" claim — differentiates identical claims across IdPs
token String // Hashed virtual key (FK)
description String?
is_active Boolean @default(true)
@ -420,8 +419,8 @@ model LiteLLM_JWTKeyMapping {
litellm_verification_token LiteLLM_VerificationToken @relation(fields: [token], references: [token])
@@unique([jwt_claim_name, jwt_claim_value, issuer])
@@index([jwt_claim_name, jwt_claim_value, issuer, is_active])
@@unique([jwt_claim_name, jwt_claim_value])
@@index([jwt_claim_name, jwt_claim_value, is_active])
}
// Deprecated keys during grace period - allows old key to work until revoke_at
@ -482,7 +481,7 @@ model LiteLLM_DeletedVerificationToken {
rotation_interval String?
last_rotation_at DateTime?
key_rotation_at DateTime?
key_rotation_email String?
key_rotation_email String?
// Deletion metadata
deleted_at DateTime @default(now()) @map("deleted_at")