suna/backend/supabase/migrations/20250602000000_add_custom_m...

9 lines
309 B
MySQL
Raw Normal View History

2025-06-02 13:44:22 +08:00
BEGIN;
ALTER TABLE agents ADD COLUMN IF NOT EXISTS custom_mcps JSONB DEFAULT '[]'::jsonb;
CREATE INDEX IF NOT EXISTS idx_agents_custom_mcps ON agents USING GIN (custom_mcps);
COMMENT ON COLUMN agents.custom_mcps IS 'Stores custom MCP server configurations added by users (JSON or SSE endpoints)';
COMMIT;