From 189dfdad3f5e65278b1f3eba8d339f13a1f05489 Mon Sep 17 00:00:00 2001 From: dtookey Date: Thu, 12 May 2022 09:36:00 -0400 Subject: [PATCH] Added some statements to deduplicate project descriptions --- src/sql/0-run-first/all_projects.sql | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/src/sql/0-run-first/all_projects.sql b/src/sql/0-run-first/all_projects.sql index e8f59cd..a737813 100644 --- a/src/sql/0-run-first/all_projects.sql +++ b/src/sql/0-run-first/all_projects.sql @@ -56,5 +56,23 @@ UPDATE all_projects SET description = 'Soil/Footings' WHERE description IN ( - 'Soils/Footings' + 'Soil/Footings - Revisit #1', + 'Soils/Footings', + 'Soils/Footings - Revisit #1', + 'Soils/Footings - Revisit #1' ); + +UPDATE all_projects +SET description = 'Framing Items' +WHERE description IN + ( + 'Framing Item' + ); + +UPDATE all_projects +SET description = '3rd Party Footing Inspection' +WHERE description IN + ( + '3rd Party Footing Preparation Inspection' + '3rd Party Footing Preparation Inspection - Revisit #1' + );