mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
fix(alerts): bound migration lock waits
This commit is contained in:
parent
5ec7da0e9e
commit
33226cc05f
2 changed files with 4 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
SET LOCAL lock_timeout = '10s';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "LiteLLM_UsageAlertRule" (
|
||||
"id" TEXT PRIMARY KEY, "scope_type" TEXT NOT NULL, "scope_id" TEXT,
|
||||
"enabled" BOOLEAN NOT NULL DEFAULT true, "record" JSONB NOT NULL,
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
SET LOCAL lock_timeout = '10s';
|
||||
|
||||
CREATE TABLE IF NOT EXISTS "LiteLLM_Issue" (
|
||||
"id" TEXT NOT NULL,
|
||||
"cohort_key" TEXT NOT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue