feat: add parent_id column to workspace_agents table (#17758)

Adds a new nullable column `parent_id` to `workspace_agents` table. This
lays the groundwork for having child agents.
This commit is contained in:
Danielle Maywood
2025-05-13 00:01:31 +01:00
committed by GitHub
parent 398b999d8f
commit 0b5f27f566
25 changed files with 278 additions and 26 deletions

View File

@ -0,0 +1,2 @@
ALTER TABLE workspace_agents
DROP COLUMN IF EXISTS parent_id;

View File

@ -0,0 +1,2 @@
ALTER TABLE workspace_agents
ADD COLUMN parent_id UUID REFERENCES workspace_agents (id) ON DELETE CASCADE;