fix(spend-logs): backfill created_at/updated_at from endTime instead of migration time (#37554)

This commit is contained in:
Mateo Wang 2026-08-19 17:27:33 -07:00 • committed by GitHub
parent fc8a6b2a8d
commit 6292489192
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,4 @@
UPDATE "LiteLLM_SpendLogs"
SET "created_at" = "endTime",
"updated_at" = "endTime"
WHERE "created_at" > "endTime" + interval '1 hour';