(docs) add comments on prisma.schema

This commit is contained in:
ishaan-jaff 2024-01-24 17:15:01 -08:00
parent 45ca7343d0
commit 3305dc75ca

View file

@ -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