mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
fix(schema): 移除 api_keys.concurrent_limit 的默认值 5
之前 DEFAULT 5 导致所有新建 API Key 自动带上并发限制, 改为 NULL (不限制) 以匹配预期行为。
This commit is contained in:
@@ -172,7 +172,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
|
|||||||
allowed_api_formats json,
|
allowed_api_formats json,
|
||||||
allowed_models json,
|
allowed_models json,
|
||||||
rate_limit integer DEFAULT 100,
|
rate_limit integer DEFAULT 100,
|
||||||
concurrent_limit integer DEFAULT 5,
|
concurrent_limit integer,
|
||||||
force_capabilities json,
|
force_capabilities json,
|
||||||
is_active boolean DEFAULT true NOT NULL,
|
is_active boolean DEFAULT true NOT NULL,
|
||||||
last_used_at timestamp with time zone,
|
last_used_at timestamp with time zone,
|
||||||
|
|||||||
@@ -172,7 +172,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
|
|||||||
allowed_api_formats json,
|
allowed_api_formats json,
|
||||||
allowed_models json,
|
allowed_models json,
|
||||||
rate_limit integer DEFAULT 100,
|
rate_limit integer DEFAULT 100,
|
||||||
concurrent_limit integer DEFAULT 5,
|
concurrent_limit integer,
|
||||||
force_capabilities json,
|
force_capabilities json,
|
||||||
is_active boolean DEFAULT true NOT NULL,
|
is_active boolean DEFAULT true NOT NULL,
|
||||||
last_used_at timestamp with time zone,
|
last_used_at timestamp with time zone,
|
||||||
|
|||||||
Reference in New Issue
Block a user