mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
Add allowed IPs to data schema sources
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user