Redesign sensitive info protection settings

This commit is contained in:
fawney19
2026-05-14 11:14:20 +08:00
parent 91955ad1e0
commit 509bd30252
71 changed files with 3254 additions and 884 deletions

View File

@@ -177,6 +177,7 @@ CREATE TABLE IF NOT EXISTS public.api_keys (
rate_limit integer DEFAULT 100,
concurrent_limit integer,
force_capabilities json,
feature_settings jsonb,
is_active boolean DEFAULT true NOT NULL,
last_used_at timestamp with time zone,
expires_at timestamp with time zone,
@@ -1277,6 +1278,7 @@ CREATE TABLE IF NOT EXISTS public.users (
allowed_models json,
allowed_models_mode text DEFAULT 'unrestricted'::text NOT NULL,
model_capability_settings json,
feature_settings jsonb,
is_active boolean DEFAULT true NOT NULL,
is_deleted boolean DEFAULT false NOT NULL,
created_at timestamp with time zone DEFAULT now() NOT NULL,