Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix created_at and updated_at not existing error

Ishaan Jaffa44596a06748
diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py
index 554c9e4e436..f2bef739c1d 100644
--- a/litellm/proxy/_types.py
+++ b/litellm/proxy/_types.py
@@ -1300,8 +1300,6 @@ class LiteLLM_VerificationToken(LiteLLMBase):
soft_budget_cooldown: bool = False
litellm_budget_table: Optional[dict] = None
org_id: Optional[str] = None # org id for a given key
- created_at: Optional[datetime] = None
- updated_at: Optional[datetime] = None
model_config = ConfigDict(protected_namespaces=())
diff --git a/litellm/proxy/schema.prisma b/litellm/proxy/schema.prisma
index 1af0c0a346d..cf61635a0bd 100644
--- a/litellm/proxy/schema.prisma
+++ b/litellm/proxy/schema.prisma
@@ -149,8 +149,6 @@ model LiteLLM_VerificationToken {
model_max_budget Json @default("{}")
budget_id String?
litellm_budget_table LiteLLM_BudgetTable? @relation(fields: [budget_id], references: [budget_id])
- created_at DateTime @default(now()) @map("created_at")
- updated_at DateTime @default(now()) @updatedAt @map("updated_at")
}
model LiteLLM_EndUserTable {
diff --git a/schema.prisma b/schema.prisma
index 86ec201f7f2..8f412510410 100644
--- a/schema.prisma
+++ b/schema.prisma
@@ -149,8 +149,6 @@ model LiteLLM_VerificationToken {
model_max_budget Json @default("{}")
budget_id String?
litellm_budget_table LiteLLM_BudgetTable? @relation(fields: [budget_id], references: [budget_id])
- created_at DateTime @default(now()) @map("created_at")
- updated_at DateTime @default(now()) @updatedAt @map("updated_at")
}
model LiteLLM_EndUserTable {