comparison flys-backend/doc/schema/postgresql-spatial.sql @ 2376:918877ee70e7

backend: Fixed spatial table hws. flys-backend/trunk@3600 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 05 Jan 2012 15:00:21 +0000
parents 60532f75396b
children f3b4e32b5db6
comparison
equal deleted inserted replaced
2375:61cb16549eb1 2376:918877ee70e7
118 river_id int REFERENCES rivers(id), 118 river_id int REFERENCES rivers(id),
119 hws_facility VARCHAR(256), 119 hws_facility VARCHAR(256),
120 type VARCHAR(256) 120 type VARCHAR(256)
121 ); 121 );
122 SELECT AddGeometryColumn('hws','geom',31466,'LINESTRING',2); 122 SELECT AddGeometryColumn('hws','geom',31466,'LINESTRING',2);
123 ALTER TABLE hw ALTER COLUMN id SET DEFAULT NEXTVAL('HWS_ID_SEQ'); 123 ALTER TABLE hws ALTER COLUMN id SET DEFAULT NEXTVAL('HWS_ID_SEQ');
124 124
125 125
126 END; 126 END;

http://dive4elements.wald.intevation.org