Mercurial > gemma
view schema/updates/1429/01.disallow_empty_fairway_dimensions.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 | 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)))