diff flys-backend/ChangeLog @ 758:bf16268629d9

Added 'Kanten' model flys-backend/trunk@2106 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 14 Jun 2011 12:34:08 +0000
parents c19d4c643526
children c8a2fbc612be
line wrap: on
line diff
--- a/flys-backend/ChangeLog	Wed Jun 08 19:03:44 2011 +0000
+++ b/flys-backend/ChangeLog	Tue Jun 14 12:34:08 2011 +0000
@@ -1,3 +1,20 @@
+2011-06-14	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* doc/schema/postgresql.sql: Added table edges to model 'Kanten' of an annotation.
+	  To update existing databases:
+	    BEGIN;
+	      CREATE SEQUENCE EDGES_ID_SEQ;
+	      CREATE TABLE edges (
+	        id     int PRIMARY KEY NOT NULL,
+	        top    NUMERIC,
+	        bottom NUMERIC);
+	      ALTER TABLE annotations ADD COLUMN edge_id int REFERENCES edges(id);
+	    COMMIT;
+
+	* src/main/java/de/intevation/flys/model/Edge.java: New. A 'Kanten'-Model.
+	* src/main/java/de/intevation/flys/model/Annotation.java: References the
+	  edges.
+	
 2011-06-08	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
 
 	* src/main/java/de/intevation/flys/model/River.java:

http://dive4elements.wald.intevation.org