Mercurial > gemma
view schema/updates/1429/01.disallow_empty_fairway_dimensions.sql @ 5650:cb3c4ba0f052 DQR adjustments
Merged default branch
author | Sascha Wilde <wilde@sha-bang.de> |
---|---|
date | Thu, 29 Jun 2023 13:18:54 +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)))