view schema/updates/1429/01.disallow_empty_fairway_dimensions.sql @ 5437:eeee1c411576 marking-single-beam

Pdf-Template: Use survey-date for {date-minor} when bottleneck survey is visible.
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 13 Jul 2021 12:24:29 +0200
parents 8c590ef35280
children
line wrap: on
line source

ALTER TABLE waterway.fairway_dimensions
    DROP CONSTRAINT fairway_dimensions_area_check,
    ADD CHECK(ST_IsValid(CAST(area AS geometry))
        AND NOT ST_IsEmpty(CAST(area AS geometry)))