mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow for default presets (#18445)
This commit is contained in:
@@ -6,7 +6,8 @@ INSERT INTO template_version_presets (
|
||||
created_at,
|
||||
desired_instances,
|
||||
invalidate_after_secs,
|
||||
scheduling_timezone
|
||||
scheduling_timezone,
|
||||
is_default
|
||||
)
|
||||
VALUES (
|
||||
@id,
|
||||
@@ -15,7 +16,8 @@ VALUES (
|
||||
@created_at,
|
||||
@desired_instances,
|
||||
@invalidate_after_secs,
|
||||
@scheduling_timezone
|
||||
@scheduling_timezone,
|
||||
@is_default
|
||||
) RETURNING *;
|
||||
|
||||
-- name: InsertPresetParameters :many
|
||||
|
||||
Reference in New Issue
Block a user