diff --git a/backend/geonature/migrations/data/core/synthese.sql b/backend/geonature/migrations/data/core/synthese.sql index 6c5fc09242..b583aaa882 100644 --- a/backend/geonature/migrations/data/core/synthese.sql +++ b/backend/geonature/migrations/data/core/synthese.sql @@ -556,7 +556,7 @@ $BODY$ FROM NEW as updated_rows JOIN ref_geo.l_areas a ON public.ST_INTERSECTS(updated_rows.the_geom_local, a.geom) - WHERE a.enable IS TRUE AND (ST_GeometryType(updated_rows.the_geom_local) = 'ST_Point' OR NOT public.ST_TOUCHES(updated_rows.the_geom_local,a.geom)); + WHERE a.enable IS TRUE AND (public.ST_GeometryType(updated_rows.the_geom_local) = 'ST_Point' OR NOT public.ST_TOUCHES(updated_rows.the_geom_local,a.geom)); RETURN NULL; END; $BODY$ @@ -1256,4 +1256,4 @@ AS $BODY$ RETURN TRUE; END; - $BODY$; \ No newline at end of file + $BODY$;