view schema/updates/1436/02.axis_no_intersecting_validity.sql @ 5317:dcb22351e058

Added configuration files for JS tooling For further information you may read https://vuejs.github.io/vetur/guide/setup.html#extensions
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 18 Jun 2021 11:58:43 +0200
parents 722b7c305319
children
line wrap: on
line source

DROP TRIGGER waterway_axis_wtwaxs_unique ON waterway.waterway_axis;

CREATE CONSTRAINT TRIGGER waterway_axis_wtwaxs_unique
    AFTER INSERT OR UPDATE OF wtwaxs, validity ON waterway.waterway_axis
    DEFERRABLE INITIALLY DEFERRED
    FOR EACH ROW
    EXECUTE FUNCTION prevent_st_equals('wtwaxs', 'validity WITH &&');