mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
refactor: neutralize dead model_spend migration (replaced by dedicated table approach)
This commit is contained in:
parent
3f362cdaff
commit
1fbb9a3bd3
1 changed files with 4 additions and 2 deletions
|
|
@ -1,2 +1,4 @@
|
|||
-- AlterTable: add model_spend JSON column to LiteLLM_TeamMembership for per-model budget tracking
|
||||
ALTER TABLE "LiteLLM_TeamMembership" ADD COLUMN IF NOT EXISTS "model_spend" JSONB NOT NULL DEFAULT '{}';
|
||||
-- No-op: model_spend column on LiteLLM_TeamMembership was superseded by the
|
||||
-- dedicated LiteLLM_TeamMemberModelSpend table (added in the next migration).
|
||||
-- The JSON approach was dropped to allow atomic per-model increment without
|
||||
-- read-modify-write races under concurrent pod flushes.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue