Mercurial > dive4elements > river
comparison flys-backend/ChangeLog @ 1195:2b4de678e29a
Removed braindead points3d table
flys-backend/trunk@2295 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 06 Jul 2011 15:35:38 +0000 |
parents | 491892931761 |
children | 46127af605ba |
comparison
equal
deleted
inserted
replaced
1194:491892931761 | 1195:2b4de678e29a |
---|---|
1 2011-07-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | |
2 | |
3 * src/main/java/de/intevation/flys/model/Point3d.java: Deleted. | |
4 Not needed (braindead). | |
5 | |
6 * src/main/java/de/intevation/flys/model/CrossSectionPoint.java: | |
7 Directly store the x/y values now. | |
8 | |
9 * src/main/java/de/intevation/flys/backend/SessionFactoryProvider.java: | |
10 Removed registration of Point3d. | |
11 | |
12 To update existing databases: | |
13 | |
14 BEGIN; | |
15 ALTER TABLE cross_section_points DROP COLUMN point3d_id; | |
16 DROP SEQUENCE POINTS3D_ID_SEQ; | |
17 DROP TABLE points3d; | |
18 ALTER TABLE cross_section_points ADD COLUMN x NUMERIC NOT NULL; | |
19 ALTER TABLE cross_section_points ADD COLUMN y NUMERIC NOT NULL; | |
20 ALTER TABLE cross_section_points ADD CONSTRAINT | |
21 cross_section_points_cross_section_id_key2 UNIQUE (cross_section_id, x); | |
22 COMMIT; | |
23 | |
1 2011-07-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> | 24 2011-07-06 Sascha L. Teichmann <sascha.teichmann@intevation.de> |
2 | 25 |
3 * src/main/java/de/intevation/flys/model/CrossSection.java, | 26 * src/main/java/de/intevation/flys/model/CrossSection.java, |
4 src/main/java/de/intevation/flys/model/CrossSectionPoint.java: | 27 src/main/java/de/intevation/flys/model/CrossSectionPoint.java: |
5 New. Hibernate models for cross-sections and their forming points. | 28 New. Hibernate models for cross-sections and their forming points. |