Skip to content

Commit d14f62a

Browse files
committed
queries
1 parent acf7d86 commit d14f62a

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

coderd/database/queries/templateversions.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,11 @@ INSERT INTO
8888
readme,
8989
job_id,
9090
created_by,
91-
source_example_id
91+
source_example_id,
92+
has_ai_task
9293
)
9394
VALUES
94-
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11);
95+
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12);
9596

9697
-- name: UpdateTemplateVersionByID :exec
9798
UPDATE

coderd/database/queries/workspacebuilds.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,11 @@ INSERT INTO
121121
deadline,
122122
max_deadline,
123123
reason,
124-
template_version_preset_id
124+
template_version_preset_id,
125+
has_ai_task
125126
)
126127
VALUES
127-
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14);
128+
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
128129

129130
-- name: UpdateWorkspaceBuildCostByID :exec
130131
UPDATE

0 commit comments

Comments
 (0)