mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-08 03:08:45 +00:00
fix(spend-logs): backfill created_at/updated_at from endTime instead of migration time (#37554)
This commit is contained in:
parent
fc8a6b2a8d
commit
6292489192
1 changed files with 4 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
UPDATE "LiteLLM_SpendLogs"
|
||||
SET "created_at" = "endTime",
|
||||
"updated_at" = "endTime"
|
||||
WHERE "created_at" > "endTime" + interval '1 hour';
|
||||
Loading…
Add table
Reference in a new issue