Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
757:c19d4c643526 | 758:bf16268629d9 |
---|---|
1 2011-06-14 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * doc/schema/postgresql.sql: Added table edges to model 'Kanten' of an annotation. | |
4 To update existing databases: | |
5 BEGIN; | |
6 CREATE SEQUENCE EDGES_ID_SEQ; | |
7 CREATE TABLE edges ( | |
8 id int PRIMARY KEY NOT NULL, | |
9 top NUMERIC, | |
10 bottom NUMERIC); | |
11 ALTER TABLE annotations ADD COLUMN edge_id int REFERENCES edges(id); | |
12 COMMIT; | |
13 | |
14 * src/main/java/de/intevation/flys/model/Edge.java: New. A 'Kanten'-Model. | |
15 * src/main/java/de/intevation/flys/model/Annotation.java: References the | |
16 edges. | |
17 | |
1 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 18 2011-06-08 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 19 |
3 * src/main/java/de/intevation/flys/model/River.java: | 20 * src/main/java/de/intevation/flys/model/River.java: |
4 Added method to find gauge only by station position. | 21 Added method to find gauge only by station position. |
5 | 22 |