mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 01:10:23 +08:00
Redesign sensitive info protection settings
This commit is contained in:
@@ -19,6 +19,7 @@ CREATE TABLE IF NOT EXISTS users (
|
||||
`allowed_api_formats` JSON,
|
||||
`allowed_api_formats_mode` VARCHAR(32) NOT NULL DEFAULT 'unrestricted',
|
||||
`model_capability_settings` JSON,
|
||||
`feature_settings` JSON,
|
||||
`rate_limit` INT,
|
||||
`rate_limit_mode` VARCHAR(32) NOT NULL DEFAULT 'system',
|
||||
`metadata` JSON,
|
||||
@@ -75,6 +76,7 @@ CREATE TABLE IF NOT EXISTS api_keys (
|
||||
`rate_limit` INT DEFAULT 100,
|
||||
`concurrent_limit` INT,
|
||||
`force_capabilities` JSON,
|
||||
`feature_settings` JSON,
|
||||
`is_active` TINYINT(1) NOT NULL DEFAULT 1,
|
||||
`is_locked` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
`is_standalone` TINYINT(1) NOT NULL DEFAULT 0,
|
||||
|
||||
Reference in New Issue
Block a user