mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
feat: import value from legacy variable to build parameter (#6556)
This commit is contained in:
Generated
+3
@@ -353,6 +353,7 @@ CREATE TABLE template_version_parameters (
|
||||
validation_error text DEFAULT ''::text NOT NULL,
|
||||
validation_monotonic text DEFAULT ''::text NOT NULL,
|
||||
required boolean DEFAULT true NOT NULL,
|
||||
legacy_variable_name text DEFAULT ''::text NOT NULL,
|
||||
CONSTRAINT validation_monotonic_order CHECK ((validation_monotonic = ANY (ARRAY['increasing'::text, 'decreasing'::text, ''::text])))
|
||||
);
|
||||
|
||||
@@ -382,6 +383,8 @@ COMMENT ON COLUMN template_version_parameters.validation_monotonic IS 'Validatio
|
||||
|
||||
COMMENT ON COLUMN template_version_parameters.required IS 'Is parameter required?';
|
||||
|
||||
COMMENT ON COLUMN template_version_parameters.legacy_variable_name IS 'Name of the legacy variable for migration purposes';
|
||||
|
||||
CREATE TABLE template_version_variables (
|
||||
template_version_id uuid NOT NULL,
|
||||
name text NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user