Files
Memoh/db/migrations/0022_mcp_probe_and_oauth.down.sql
Acbox Liu 64609c2101 feat: MCP OAuth (#178)
* feat: MCP OAuth

* fix: redirect url and oauth
2026-03-04 00:41:05 +08:00

13 lines
443 B
SQL

-- 0022_mcp_probe_and_oauth (rollback)
-- Remove probe status fields and auth_type from mcp_connections; drop mcp_oauth_tokens table
DROP INDEX IF EXISTS idx_mcp_oauth_tokens_connection_id;
DROP TABLE IF EXISTS mcp_oauth_tokens;
ALTER TABLE mcp_connections
DROP COLUMN IF EXISTS status,
DROP COLUMN IF EXISTS tools_cache,
DROP COLUMN IF EXISTS last_probed_at,
DROP COLUMN IF EXISTS status_message,
DROP COLUMN IF EXISTS auth_type;