Mercurial > dive4elements > river
diff backend/doc/schema/postgresql-spatial.sql @ 7737:f4e32ac4e55c
This was obsolete since r5294.
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Fri, 31 Jan 2014 19:57:35 +0100 |
parents | dcc7a6c8b92c |
children | cc53aae06303 |
line wrap: on
line diff
--- a/backend/doc/schema/postgresql-spatial.sql Thu Jan 23 17:48:55 2014 +0100 +++ b/backend/doc/schema/postgresql-spatial.sql Fri Jan 31 19:57:35 2014 +0100 @@ -244,8 +244,6 @@ source varchar(64) ); SELECT AddGeometryColumn('floodmaps', 'geom', 31467, 'MULTIPOLYGON', 2); -ALTER TABLE floodmaps DROP CONSTRAINT enforce_geotype_geom; -ALTER TABLE floodmaps ADD CONSTRAINT enforce_geotype_geom CHECK (geometrytype(geom) = 'POLYGON'::text OR geometrytype(geom) = 'MULTIPOLYGON'::text); ALTER TABLE floodmaps ALTER COLUMN id SET DEFAULT NEXTVAL('FLOODMAPS_ID_SEQ'); CREATE TABLE sectie_kinds (