Mercurial > dive4elements > river
diff flys-backend/doc/schema/oracle-drop-minfo.sql @ 2846:c1c6c9190636
Improved the db schema to store MINFO specific waterlevel differences.
flys-backend/trunk@4289 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 24 Apr 2012 13:04:30 +0000 |
parents | 6be2bf2492f9 |
children | c36106f15ac9 |
line wrap: on
line diff
--- a/flys-backend/doc/schema/oracle-drop-minfo.sql Tue Apr 24 12:46:26 2012 +0000 +++ b/flys-backend/doc/schema/oracle-drop-minfo.sql Tue Apr 24 13:04:30 2012 +0000 @@ -35,6 +35,9 @@ ALTER TABLE waterlevel DROP CONSTRAINT fk_w_unit_id; ALTER TABLE waterlevel_q_range DROP CONSTRAINT fk_wqr_waterlevel_id; ALTER TABLE waterlevel_values DROP CONSTRAINT fk_wv_waterlevel_q_range_id; +ALTER TABLE waterlevel_difference DROP CONSTRAINT fk_wd_river_id; +ALTER TABLE waterlevel_difference_column DROP CONSTRAINT fk_wdc_difference_id; +ALTER TABLE waterlevel_difference_values DROP CONSTRAINT fk_wdv_column_id; DROP TABLE bed_height_type; DROP TABLE location_system; @@ -59,6 +62,9 @@ DROP TABLE waterlevel; DROP TABLE waterlevel_q_range; DROP TABLE waterlevel_values; +DROP TABLE waterlevel_difference; +DROP TABLE waterlevel_difference_column; +DROP TABLE waterlevel_difference_values; DROP SEQUENCE BED_HEIGHT_TYPE_SEQ; DROP SEQUENCE LOCATION_SYSTEM_SEQ; @@ -83,3 +89,7 @@ DROP SEQUENCE WATERLEVEL_ID_SEQ; DROP SEQUENCE WATERLEVEL_Q_RANGES_ID_SEQ; DROP SEQUENCE WATERLEVEL_VALUES_ID_SEQ; +DROP SEQUENCE WATERLEVEL_DIFFERENCE_ID_SEQ; +DROP SEQUENCE WATERLEVEL_DIFF_COLUMN_ID_SEQ; +DROP SEQUENCE WATERLEVEL_DIFF_VALUES_ID_SEQ; +