annotate schema/updates/1311/01.improve_section_uniqueness.sql @ 4848:8584197232ec

Handle unknown units gracefully
author Tom Gottfried <tom@intevation.de>
date Mon, 18 Nov 2019 16:38:28 +0100
parents fd9f171b87e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4749
fd9f171b87e4 Generally disallow the same section name for different countries
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
1 ALTER TABLE waterway.sections
fd9f171b87e4 Generally disallow the same section name for different countries
Tom Gottfried <tom@intevation.de>
parents:
diff changeset
2 ADD EXCLUDE USING GiST (name WITH =, country WITH <>)