mirror of
https://github.com/coder/coder.git
synced 2025-07-03 16:13:58 +00:00
feat: mark coder_parameter as "required" (#6433)
* Add required column * Pass through providerd * Pass the required property down * Optional * Fix * Fix * Fix * fix * CLI create: support for optional fields * Use HTML API to mark fields required * Fix * Improve validation * more fixes * make fmt * Fix * WIP * Fix: test * CLI update tets * OptionalParameterAdded * Fix: migration
This commit is contained in:
@ -13,7 +13,8 @@ INSERT INTO
|
||||
validation_min,
|
||||
validation_max,
|
||||
validation_error,
|
||||
validation_monotonic
|
||||
validation_monotonic,
|
||||
required
|
||||
)
|
||||
VALUES
|
||||
(
|
||||
@ -29,7 +30,8 @@ VALUES
|
||||
$10,
|
||||
$11,
|
||||
$12,
|
||||
$13
|
||||
$13,
|
||||
$14
|
||||
) RETURNING *;
|
||||
|
||||
-- name: GetTemplateVersionParameters :many
|
||||
|
Reference in New Issue
Block a user