diff --git a/src/postgres/7-seed.sql b/src/postgres/7-seed.sql index 87ae477c..7f1437fe 100755 --- a/src/postgres/7-seed.sql +++ b/src/postgres/7-seed.sql @@ -266,9 +266,9 @@ INSERT INTO input VALUES ('15a012d0-9b4b-4979-9fa9-81fac1600b09', 'spatial_horiz INSERT INTO input VALUES ('15a012d0-9b4b-4979-9fa9-81fac1600b09', 'spatial_horizontal_2', 1, '', 'bbox', '{}', '{}', '[]','[]', False); INSERT INTO input VALUES ('15a012d0-9b4b-4979-9fa9-81fac1600b09', 'spatial_horizontal_3', 2, '', 'bbox', '{}', '{}', '[]','[]', False); INSERT INTO input VALUES ('0f640f21-37ec-4d04-af2c-da955ae98e12', 'spatial_vertical_answer', 0, '', 'radio', '["Yes","No"]', '{}', '[]','[]', True); -INSERT INTO input VALUES ('a3701d37-77cf-4ccc-8068-c6860a7a8929', 'spatial_vertical_details_upper', 0, 'Upper Amount', 'number', '{}', '{}', '[]','[]', False); +INSERT INTO input VALUES ('a3701d37-77cf-4ccc-8068-c6860a7a8929', 'spatial_vertical_details_upper', 0, 'Upper Limit', 'number', '{}', '{}', '[]','[]', False); INSERT INTO input VALUES ('a3701d37-77cf-4ccc-8068-c6860a7a8929', 'spatial_vertical_details_upper_units', 1, '', 'radio', '["km","m","feet","miles","mb","Pa","hPa","Varies"]', '{}', '[]','[]', False); -INSERT INTO input VALUES ('a3701d37-77cf-4ccc-8068-c6860a7a8929', 'spatial_vertical_details_lower', 2, 'Lower Amount', 'number', '{}', '{}', '[]','[]', False); +INSERT INTO input VALUES ('a3701d37-77cf-4ccc-8068-c6860a7a8929', 'spatial_vertical_details_lower', 2, 'Lower Limit', 'number', '{}', '{}', '[]','[]', False); INSERT INTO input VALUES ('a3701d37-77cf-4ccc-8068-c6860a7a8929', 'spatial_vertical_details_lower_units', 3, '', 'radio', '["km","m","feet","miles","mb","Pa","hPa","Varies"]', '{}', '[]','[]', False); INSERT INTO input VALUES ('91577abc-a59c-40f7-b0e6-f954542e6b19', 'spatial_data_file', 0, '', 'textarea', '{}', '{}', '[]','[]', True); INSERT INTO input VALUES ('a12ccd39-1d94-46a5-8aad-3587fd50c4ad', 'spatial_resolution', 0, 'Data Value Spatial Resolution', 'textarea', '{}', '{}', '[]','[]', True); diff --git a/src/postgres/9-updates.sql b/src/postgres/9-updates.sql index 98c34da9..b60b5113 100644 --- a/src/postgres/9-updates.sql +++ b/src/postgres/9-updates.sql @@ -215,4 +215,14 @@ DROP TABLE IF EXISTS submission_lock; -- EDPUB-1744: Update DPR Funding Organization requirement UPDATE question SET required = 'True' -WHERE id = '8a364184-42ac-48fe-b831-acb2eb08c728'; \ No newline at end of file +WHERE id = '8a364184-42ac-48fe-b831-acb2eb08c728'; + + +-- EDPUB-935: Change the subheadings for Upper and Lower Limits +UPDATE input +SET label = 'Upper Limit' +WHERE question_id = 'a3701d37-77cf-4ccc-8068-c6860a7a8929' AND control_id = 'spatial_vertical_details_upper'; + +UPDATE input +SET label = 'Lower Limit' +WHERE question_id = 'a3701d37-77cf-4ccc-8068-c6860a7a8929' AND control_id = 'spatial_vertical_details_lower'; \ No newline at end of file