fix(alerts): bound migration lock waits

This commit is contained in:
moe-berri 2026-11-07 11:55:26 +08:00
parent 5ec7da0e9e
commit 33226cc05f
2 changed files with 4 additions and 0 deletions

View file

@ -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,

View file

@ -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,