Add allowed IPs to data schema sources

This commit is contained in:
RWDai
2026-05-19 10:24:27 +08:00
parent 95af482ffe
commit 6a104d5736
2 changed files with 6 additions and 0 deletions

View File

@@ -175,6 +175,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
allowed_providers json,
allowed_api_formats json,
allowed_models json,
allowed_ips jsonb,
rate_limit integer DEFAULT 100,
concurrent_limit integer,
force_capabilities json,

View File

@@ -322,6 +322,11 @@ name = "allowed_api_formats"
type = "json"
nullable = true
[[table.api_keys.columns]]
name = "allowed_ips"
type = "json"
nullable = true
[[table.api_keys.columns]]
name = "rate_limit"
type = "int32"