From dc3f111abd64938ce2f644c49de3096b6d8a2991 Mon Sep 17 00:00:00 2001 From: Tony-Villa Date: Wed, 3 Sep 2025 17:58:46 -0700 Subject: [PATCH 1/2] fix: revise text on page 2 of calc --- ...date_calculation_rule_names_parkcondo_sftradeschool.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql diff --git a/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql b/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql new file mode 100644 index 000000000..3878ab659 --- /dev/null +++ b/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql @@ -0,0 +1,7 @@ +UPDATE [CalculationRule] +SET name = '..... Required Number of Parking Spaces' +WHERE id = 238; + +UPDATE [CalculationRule] +SET name = '..... Classroom or Assembly Area' +WHERE id = 104; \ No newline at end of file From a759d80d1555f77dae5a1e99b0a74603a5f092da Mon Sep 17 00:00:00 2001 From: Tony-Villa Date: Wed, 3 Sep 2025 18:42:37 -0700 Subject: [PATCH 2/2] fix: where clause uses code isntead of id --- ..._update_calculation_rule_names_parkcondo_sftradeschool.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql b/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql index 3878ab659..6b15799d5 100644 --- a/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql +++ b/server/db/migration/V20250820.1934__update_calculation_rule_names_parkcondo_sftradeschool.sql @@ -1,7 +1,7 @@ UPDATE [CalculationRule] SET name = '..... Required Number of Parking Spaces' -WHERE id = 238; +WHERE id = 'PARK_CONDO' AND calculationId = 1; UPDATE [CalculationRule] SET name = '..... Classroom or Assembly Area' -WHERE id = 104; \ No newline at end of file +WHERE code = 'SF_TRADE_SCHOOL' AND calculationId = 1; \ No newline at end of file