view schema/updates/1441/01.extend_sounding_result_view.sql @ 5311:72d3b8321ed0 zpg-exception

Fixed broken migration which erased the style of the modified GeoServer view.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 02 Jun 2021 16:55:00 +0200
parents 4ba3fda13c50
children
line wrap: on
line source

UPDATE sys_admin.published_services SET view_def = $$
    SELECT bottleneck_id,
        to_char(date_info, 'YYYY-MM-DD') AS date_info,
        height,
        areas,
        surtyp,
        zpg_exception
    FROM waterway.sounding_results_iso_areas ia
        JOIN waterway.sounding_results sr ON sr.id = ia.sounding_result_id
$$
  WHERE schema = 'waterway' AND name = 'sounding_results_areas_geoserver';