mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
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:
@ -31,6 +31,7 @@ SELECT * FROM workspace_agents WHERE created_at > $1;
|
||||
INSERT INTO
|
||||
workspace_agents (
|
||||
id,
|
||||
parent_id,
|
||||
created_at,
|
||||
updated_at,
|
||||
name,
|
||||
@ -50,7 +51,7 @@ INSERT INTO
|
||||
display_order
|
||||
)
|
||||
VALUES
|
||||
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) RETURNING *;
|
||||
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) RETURNING *;
|
||||
|
||||
-- name: UpdateWorkspaceAgentConnectionByID :exec
|
||||
UPDATE
|
||||
|
Reference in New Issue
Block a user