comparison flys-backend/ChangeLog @ 496:4f2d8980415f

Schema: Dropped constraint which forces discharge tables to have a unique time interval for a given gauge and kind. flys-backend/trunk@1850 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 08 May 2011 11:20:39 +0000
parents a92da0b3e8e7
children 67fd63e4ef66
comparison
equal deleted inserted replaced
495:a92da0b3e8e7 496:4f2d8980415f
1 2011-05-05 Sascha L. Teichmann <sascha.teichmann@intevation.de> 1 2011-05-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2
3 * doc/schema/postgresql.sql: Dropped constraint which
4 forces discharge tables to have a unique time interval
5 for a given gauge and kind.
6
7 There are AT files (historical Mosel/Perl/Perl/1967-1981.at
8 and Mosel/Perl/1967-1981-1.at) which violate this
9 constraint. Its a technical question to the customer
10 how to handle these cases.
11
12 To adjust existing databases:
13
14 ALTER TABLE discharge_tables DROP CONSTRAINT discharge_tables_gauge_id_key;
15
16 2011-05-08 Sascha L. Teichmann <sascha.teichmann@intevation.de>
2 17
3 * src/main/java/de/intevation/flys/importer/WstParser.java: 18 * src/main/java/de/intevation/flys/importer/WstParser.java:
4 There are wst files where column names are not unique. 19 There are wst files where column names are not unique.
5 Make them unique by appending (1), (2) and so on. 20 Make them unique by appending (1), (2) and so on.
6 21

http://dive4elements.wald.intevation.org