forked from phoenix/litellm-mirror
(docs) add comments on prisma.schema
This commit is contained in:
parent
45ca7343d0
commit
3305dc75ca
1 changed files with 4 additions and 1 deletions
|
@ -7,6 +7,7 @@ generator client {
|
|||
provider = "prisma-client-py"
|
||||
}
|
||||
|
||||
// Track spend, rate limit, budget Users
|
||||
model LiteLLM_UserTable {
|
||||
user_id String @unique
|
||||
team_id String?
|
||||
|
@ -21,7 +22,7 @@ model LiteLLM_UserTable {
|
|||
budget_reset_at DateTime?
|
||||
}
|
||||
|
||||
// required for token gen
|
||||
// Generate Tokens for Proxy
|
||||
model LiteLLM_VerificationToken {
|
||||
token String @unique
|
||||
spend Float @default(0.0)
|
||||
|
@ -40,11 +41,13 @@ model LiteLLM_VerificationToken {
|
|||
budget_reset_at DateTime?
|
||||
}
|
||||
|
||||
// store proxy config.yaml
|
||||
model LiteLLM_Config {
|
||||
param_name String @id
|
||||
param_value Json?
|
||||
}
|
||||
|
||||
// View spend, model, api_key per request
|
||||
model LiteLLM_SpendLogs {
|
||||
request_id String @unique
|
||||
call_type String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue