feat: improve agent workbench and digital human flows
This commit is contained in:
@@ -105,6 +105,8 @@ const SQLITE_COMPAT_DDL: &[&str] = &[
|
||||
ON proxy_logs (downstream_api_key_id, created_at DESC, status)",
|
||||
"CREATE INDEX IF NOT EXISTS proxy_logs_key_model_created_idx
|
||||
ON proxy_logs (downstream_api_key_id, model_actual, created_at DESC)",
|
||||
"CREATE INDEX IF NOT EXISTS proxy_logs_created_at_desc_idx
|
||||
ON proxy_logs (created_at DESC, id DESC)",
|
||||
"CREATE INDEX IF NOT EXISTS proxy_logs_content_summary_idx
|
||||
ON proxy_logs (content_summary)",
|
||||
"CREATE INDEX IF NOT EXISTS workspace_assets_user_output_created_idx
|
||||
@@ -131,6 +133,16 @@ const SQLITE_COMPAT_DDL: &[&str] = &[
|
||||
ON workspace_asset_daily (source, local_day DESC)",
|
||||
"CREATE INDEX IF NOT EXISTS route_channels_oauth_route_unit_id_idx
|
||||
ON route_channels (oauth_route_unit_id)",
|
||||
"CREATE INDEX IF NOT EXISTS route_channels_route_enabled_cooldown_idx
|
||||
ON route_channels (route_id, enabled, cooldown_until, account_id, token_id)",
|
||||
"CREATE INDEX IF NOT EXISTS token_routes_enabled_id_idx
|
||||
ON token_routes (enabled, id)",
|
||||
"CREATE INDEX IF NOT EXISTS accounts_id_status_site_idx
|
||||
ON accounts (id, status, site_id)",
|
||||
"CREATE INDEX IF NOT EXISTS sites_id_status_url_idx
|
||||
ON sites (id, status, url)",
|
||||
"CREATE INDEX IF NOT EXISTS account_tokens_id_enabled_idx
|
||||
ON account_tokens (id, enabled)",
|
||||
"CREATE TABLE IF NOT EXISTS site_api_endpoints (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
|
||||
site_id INTEGER NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user