Mercurial > gemma
view schema/updates/1437/02.configure_wms-t.sql @ 5677:a57be8bfb6ea sr-v2
More suited file names.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 11 Feb 2024 09:51:21 +0100 |
parents | f11b9b50fcc9 |
children |
line wrap: on
line source
UPDATE sys_admin.published_services SET srid = 4326, key_column = 'id', wmst_attribute = 'valid_from', wmst_end_attribute = 'valid_to', view_def = $$ SELECT id, lower(validity) AS valid_from, COALESCE(upper(validity), current_timestamp) AS valid_to, area, level_of_service, min_width, max_width, min_depth, date_info, source_organization, staging_done FROM waterway.fairway_dimensions $$ WHERE schema = 'waterway' AND name = 'fairway_dimensions';