diff --git a/api/src/migrations/1692854789441-UpdateImpactStoredFunctions.ts b/api/src/migrations/1692854789441-UpdateImpactStoredFunctions.ts index 250d42e48c..fa04185ee3 100644 --- a/api/src/migrations/1692854789441-UpdateImpactStoredFunctions.ts +++ b/api/src/migrations/1692854789441-UpdateImpactStoredFunctions.ts @@ -123,6 +123,8 @@ export class UpdateImpactStoredFunctions1692854789441 `); await queryRunner.query(` + DROP FUNCTION IF EXISTS get_percentage_water_stress_area; + CREATE OR REPLACE FUNCTION get_percentage_water_stress_area( geo_region_id uuid, name_code text