feat: import value from legacy variable to build parameter (#6556)

This commit is contained in:
Marcin Tojek
2023-03-14 13:02:44 +01:00
committed by GitHub
parent bc26c4a27f
commit 7587850a1c
24 changed files with 576 additions and 296 deletions
+3
View File
@@ -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,