mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
chore: support the has_ai_task column in template version and workspace insert queries (#18385)
https://github.com/coder/coder/pull/18359 added the `has_ai_task` columns on the `workspace_builds` and `template_versions` tables.
This commit is contained in:
@ -88,10 +88,11 @@ INSERT INTO
|
||||
readme,
|
||||
job_id,
|
||||
created_by,
|
||||
source_example_id
|
||||
source_example_id,
|
||||
has_ai_task
|
||||
)
|
||||
VALUES
|
||||
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11);
|
||||
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12);
|
||||
|
||||
-- name: UpdateTemplateVersionByID :exec
|
||||
UPDATE
|
||||
|
@ -121,10 +121,11 @@ INSERT INTO
|
||||
deadline,
|
||||
max_deadline,
|
||||
reason,
|
||||
template_version_preset_id
|
||||
template_version_preset_id,
|
||||
has_ai_task
|
||||
)
|
||||
VALUES
|
||||
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14);
|
||||
($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15);
|
||||
|
||||
-- name: UpdateWorkspaceBuildCostByID :exec
|
||||
UPDATE
|
||||
|
Reference in New Issue
Block a user