feat: Add MCP services support and enhance migration scripts
- Introduced new MCP services functionality, including management routes and integration with the agent service. - Updated Docker Compose configuration to include a new SQL migration for MCP services. - Enhanced Makefile with new migration commands for versioning and creating migrations. - Improved chat component to handle selected MCP services in message processing. - Updated migration documentation to reflect new strategies and added MCP services migration files.
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
-- Rollback: Remove MCP services table
|
||||
|
||||
BEGIN;
|
||||
|
||||
-- Drop trigger
|
||||
DROP TRIGGER IF EXISTS trigger_mcp_services_updated_at ON mcp_services;
|
||||
|
||||
-- Drop function
|
||||
DROP FUNCTION IF EXISTS update_mcp_services_updated_at();
|
||||
|
||||
-- Drop indexes
|
||||
DROP INDEX IF EXISTS idx_mcp_services_tenant_id;
|
||||
DROP INDEX IF EXISTS idx_mcp_services_enabled;
|
||||
DROP INDEX IF EXISTS idx_mcp_services_deleted_at;
|
||||
|
||||
-- Drop table
|
||||
DROP TABLE IF EXISTS mcp_services;
|
||||
|
||||
COMMIT;
|
||||
|
||||
Reference in New Issue
Block a user