Mercurial > dive4elements > river
comparison flys-backend/doc/schema/oracle-drop-minfo.sql @ 3344:cb376f48dd37 2.8
merged flys-backend/2.8
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:36 +0200 |
parents | cc8fc6b29649 |
children | 8667f629d238 |
comparison
equal
deleted
inserted
replaced
3318:dbe2f85bf160 | 3344:cb376f48dd37 |
---|---|
1 SET AUTOCOMMIT ON; | |
2 | |
3 ALTER TABLE elevation_model DROP CONSTRAINT fk_unit; | |
4 ALTER TABLE bed_height_single DROP CONSTRAINT fk_bed_single_river_id; | |
5 ALTER TABLE bed_height_single DROP CONSTRAINT fk_type; | |
6 ALTER TABLE bed_height_single DROP CONSTRAINT fk_location_system; | |
7 ALTER TABLE bed_height_single DROP CONSTRAINT fk_cur_elevation_model; | |
8 ALTER TABLE bed_height_single DROP CONSTRAINT fk_old_elevation_model; | |
9 ALTER TABLE bed_height_single DROP CONSTRAINT fk_range; | |
10 ALTER TABLE bed_height_single_values DROP CONSTRAINT fk_bed_single_values_parent; | |
11 ALTER TABLE bed_height_epoch_values DROP CONSTRAINT fk_bed_epoch_values_parent; | |
12 ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_epoch_cur_elevation_model; | |
13 ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_epoch_old_elevation_model; | |
14 ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_epoch_range; | |
15 ALTER TABLE depths DROP CONSTRAINT fk_depths_unit_id; | |
16 ALTER TABLE sediment_density DROP CONSTRAINT fk_sd_depth_id; | |
17 ALTER TABLE sediment_density DROP CONSTRAINT fk_sd_unit_id; | |
18 ALTER TABLE sediment_density_values DROP CONSTRAINT fk_sdv_sediment_density_id; | |
19 ALTER TABLE morphologic_width DROP CONSTRAINT fk_mw_river_id; | |
20 ALTER TABLE morphologic_width DROP CONSTRAINT fk_mw_unit_id; | |
21 ALTER TABLE morphologic_width_values DROP CONSTRAINT fk_mwv_morphologic_width_id; | |
22 ALTER TABLE flow_velocity_model_values DROP CONSTRAINT fk_fvv_flow_velocity_model_id; | |
23 ALTER TABLE flow_velocity_model DROP CONSTRAINT fk_fvm_river_id; | |
24 ALTER TABLE flow_velocity_model DROP CONSTRAINT fk_fvm_discharge_zone_id; | |
25 ALTER TABLE discharge_zone DROP CONSTRAINT fk_dz_river_id; | |
26 ALTER TABLE flow_velocity_measurements DROP CONSTRAINT fk_fvm_rivers_id; | |
27 ALTER TABLE flow_velocity_measure_values DROP CONSTRAINT fk_fvmv_measurements_id; | |
28 ALTER TABLE grain_fraction DROP CONSTRAINT fk_gf_unit_id; | |
29 ALTER TABLE sediment_yield DROP CONSTRAINT fk_sy_grain_fraction_id; | |
30 ALTER TABLE sediment_yield DROP CONSTRAINT fk_sy_unit_id; | |
31 ALTER TABLE sediment_yield DROP CONSTRAINT fk_sy_time_interval_id; | |
32 ALTER TABLE sediment_yield DROP CONSTRAINT fk_sy_river_id; | |
33 ALTER TABLE sediment_yield_values DROP CONSTRAINT fk_syv_sediment_yield_id; | |
34 ALTER TABLE waterlevel DROP CONSTRAINT fk_w_river_id; | |
35 ALTER TABLE waterlevel DROP CONSTRAINT fk_w_unit_id; | |
36 ALTER TABLE waterlevel_q_range DROP CONSTRAINT fk_wqr_waterlevel_id; | |
37 ALTER TABLE waterlevel_values DROP CONSTRAINT fk_wv_waterlevel_q_range_id; | |
38 ALTER TABLE waterlevel_difference DROP CONSTRAINT fk_wd_river_id; | |
39 ALTER TABLE waterlevel_difference DROP CONSTRAINT fk_wd_unit_id; | |
40 ALTER TABLE waterlevel_difference_column DROP CONSTRAINT fk_wdc_difference_id; | |
41 ALTER TABLE waterlevel_difference_values DROP CONSTRAINT fk_wdv_column_id; | |
42 ALTER TABLE sq_relation DROP CONSTRAINT fk_sqr_tinterval_id; | |
43 ALTER TABLE sq_relation DROP CONSTRAINT fk_sqr_river_id; | |
44 ALTER TABLE sq_relation_value DROP CONSTRAINT fk_sqr_id; | |
45 | |
46 DROP TABLE bed_height_type; | |
47 DROP TABLE location_system; | |
48 DROP TABLE elevation_model; | |
49 DROP TABLE bed_height_single; | |
50 DROP TABLE bed_height_single_values; | |
51 DROP TABLE bed_height_epoch_values; | |
52 DROP TABLE bed_height_epoch; | |
53 DROP TABLE depths; | |
54 DROP TABLE sediment_density; | |
55 DROP TABLE sediment_density_values; | |
56 DROP TABLE morphologic_width; | |
57 DROP TABLE morphologic_width_values; | |
58 DROP TABLE discharge_zone; | |
59 DROP TABLE flow_velocity_model; | |
60 DROP TABLE flow_velocity_model_values; | |
61 DROP TABLE flow_velocity_measurements; | |
62 DROP TABLE flow_velocity_measure_values; | |
63 DROP TABLE grain_fraction; | |
64 DROP TABLE sediment_yield; | |
65 DROP TABLE sediment_yield_values; | |
66 DROP TABLE waterlevel; | |
67 DROP TABLE waterlevel_q_range; | |
68 DROP TABLE waterlevel_values; | |
69 DROP TABLE waterlevel_difference; | |
70 DROP TABLE waterlevel_difference_column; | |
71 DROP TABLE waterlevel_difference_values; | |
72 DROP TABLE sq_relation_value; | |
73 DROP TABLE sq_relation; | |
74 | |
75 DROP SEQUENCE BED_HEIGHT_TYPE_SEQ; | |
76 DROP SEQUENCE LOCATION_SYSTEM_SEQ; | |
77 DROP SEQUENCE ELEVATION_MODEL_SEQ; | |
78 DROP SEQUENCE BED_HEIGHT_SINGLE_ID_SEQ; | |
79 DROP SEQUENCE BED_SINGLE_VALUES_ID_SEQ; | |
80 DROP SEQUENCE BED_EPOCH_VALUES_ID_SEQ; | |
81 DROP SEQUENCE BED_HEIGHT_EPOCH_ID_SEQ; | |
82 DROP SEQUENCE DEPTHS_ID_SEQ; | |
83 DROP SEQUENCE SEDIMENT_DENSITY_ID_SEQ; | |
84 DROP SEQUENCE SEDIMENT_DENSITY_VALUES_ID_SEQ; | |
85 DROP SEQUENCE MORPHOLOGIC_WIDTH_ID_SEQ; | |
86 DROP SEQUENCE MORPH_WIDTH_VALUES_ID_SEQ; | |
87 DROP SEQUENCE DISCHARGE_ZONE_ID_SEQ; | |
88 DROP SEQUENCE FLOW_VELOCITY_MODEL_ID_SEQ; | |
89 DROP SEQUENCE FLOW_VELOCITY_M_VALUES_ID_SEQ; | |
90 DROP SEQUENCE FV_MEASURE_ID_SEQ; | |
91 DROP SEQUENCE FV_MEASURE_VALUES_ID_SEQ; | |
92 DROP SEQUENCE GRAIN_FRACTION_ID_SEQ; | |
93 DROP SEQUENCE SEDIMENT_YIELD_ID_SEQ; | |
94 DROP SEQUENCE SEDIMENT_YIELD_VALUES_ID_SEQ; | |
95 DROP SEQUENCE WATERLEVEL_ID_SEQ; | |
96 DROP SEQUENCE WATERLEVEL_Q_RANGES_ID_SEQ; | |
97 DROP SEQUENCE WATERLEVEL_VALUES_ID_SEQ; | |
98 DROP SEQUENCE WATERLEVEL_DIFFERENCE_ID_SEQ; | |
99 DROP SEQUENCE WATERLEVEL_DIFF_COLUMN_ID_SEQ; | |
100 DROP SEQUENCE WATERLEVEL_DIFF_VALUES_ID_SEQ; | |
101 DROP SEQUENCE SQ_RELATION_ID_SEQ; | |
102 DROP SEQUENCE SQ_RELATION_VALUES_ID_SEQ; |