changeset 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 61cb16549eb1
children d183ae164cfc
files flys-backend/ChangeLog flys-backend/doc/schema/postgresql-spatial.sql
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Thu Jan 05 10:42:20 2012 +0000
+++ b/flys-backend/ChangeLog	Thu Jan 05 15:00:21 2012 +0000
@@ -1,3 +1,7 @@
+2012-01-05	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* doc/schema/postgresql-spatial.sql: Fixed table hws.
+
 2012-01-05  Ingo Weinzierl <ingo@intevation.de>
 
 	* src/main/java/de/intevation/flys/model/RiverAxis.java: The method
--- a/flys-backend/doc/schema/postgresql-spatial.sql	Thu Jan 05 10:42:20 2012 +0000
+++ b/flys-backend/doc/schema/postgresql-spatial.sql	Thu Jan 05 15:00:21 2012 +0000
@@ -120,7 +120,7 @@
     type VARCHAR(256)
 );
 SELECT AddGeometryColumn('hws','geom',31466,'LINESTRING',2);
-ALTER TABLE hw ALTER COLUMN id SET DEFAULT NEXTVAL('HWS_ID_SEQ');
+ALTER TABLE hws ALTER COLUMN id SET DEFAULT NEXTVAL('HWS_ID_SEQ');
 
 
 END;

http://dive4elements.wald.intevation.org