fix(schema): 移除 api_keys.concurrent_limit 的默认值 5

之前 DEFAULT 5 导致所有新建 API Key 自动带上并发限制,
改为 NULL (不限制) 以匹配预期行为。
This commit is contained in:
fawney19
2026-04-15 10:43:38 +08:00
parent 4087e096f2
commit 026a77306c
2 changed files with 2 additions and 2 deletions

View File

@@ -172,7 +172,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
allowed_api_formats json,
allowed_models json,
rate_limit integer DEFAULT 100,
concurrent_limit integer DEFAULT 5,
concurrent_limit integer,
force_capabilities json,
is_active boolean DEFAULT true NOT NULL,
last_used_at timestamp with time zone,