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"
|
provider = "prisma-client-py"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Track spend, rate limit, budget Users
|
||||||
model LiteLLM_UserTable {
|
model LiteLLM_UserTable {
|
||||||
user_id String @unique
|
user_id String @unique
|
||||||
team_id String?
|
team_id String?
|
||||||
|
@ -21,7 +22,7 @@ model LiteLLM_UserTable {
|
||||||
budget_reset_at DateTime?
|
budget_reset_at DateTime?
|
||||||
}
|
}
|
||||||
|
|
||||||
// required for token gen
|
// Generate Tokens for Proxy
|
||||||
model LiteLLM_VerificationToken {
|
model LiteLLM_VerificationToken {
|
||||||
token String @unique
|
token String @unique
|
||||||
spend Float @default(0.0)
|
spend Float @default(0.0)
|
||||||
|
@ -40,11 +41,13 @@ model LiteLLM_VerificationToken {
|
||||||
budget_reset_at DateTime?
|
budget_reset_at DateTime?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// store proxy config.yaml
|
||||||
model LiteLLM_Config {
|
model LiteLLM_Config {
|
||||||
param_name String @id
|
param_name String @id
|
||||||
param_value Json?
|
param_value Json?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// View spend, model, api_key per request
|
||||||
model LiteLLM_SpendLogs {
|
model LiteLLM_SpendLogs {
|
||||||
request_id String @unique
|
request_id String @unique
|
||||||
call_type String
|
call_type String
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue