Mercurial > dive4elements > river
diff flys-backend/doc/schema/oracle-minfo.sql @ 5478:5bb3610b94f7
Schema Change: removed constraint that did not allow to have more than one measurement_type per station
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Wed, 27 Mar 2013 19:23:57 +0100 |
parents | b6a6d13eec41 |
children | d459a885c51f |
line wrap: on
line diff
--- a/flys-backend/doc/schema/oracle-minfo.sql Wed Mar 27 18:31:31 2013 +0100 +++ b/flys-backend/doc/schema/oracle-minfo.sql Wed Mar 27 19:23:57 2013 +0100 @@ -296,8 +296,7 @@ CONSTRAINT fk_ms_river_id FOREIGN KEY (river_id) REFERENCES rivers(id) ON DELETE CASCADE, CONSTRAINT fk_ms_range_id FOREIGN KEY (range_id) REFERENCES ranges(id) ON DELETE CASCADE, CONSTRAINT fk_ms_reference_gauge_id FOREIGN KEY (reference_gauge_id) REFERENCES gauges(id) ON DELETE CASCADE, - CONSTRAINT fk_ms_observation_timerange_id FOREIGN KEY (observation_timerange_id) REFERENCES time_intervals(id), - UNIQUE (river_id, station) + CONSTRAINT fk_ms_observation_timerange_id FOREIGN KEY (observation_timerange_id) REFERENCES time_intervals(id) );