mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
14 lines
267 B
SQL
14 lines
267 B
SQL
-- name: InsertTemplateVersionTerraformValuesByJobID :exec
|
|
INSERT INTO
|
|
template_version_terraform_values (
|
|
template_version_id,
|
|
cached_plan,
|
|
updated_at
|
|
)
|
|
VALUES
|
|
(
|
|
(select id from template_versions where job_id = @job_id),
|
|
@cached_plan,
|
|
@updated_at
|
|
);
|