Mercurial > dive4elements > river
comparison flys-backend/doc/schema/oracle-minfo.sql @ 5777:e95427ed80e5
Merged
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 21 Apr 2013 10:46:59 +0200 |
parents | e89d922df8ae |
children |
comparison
equal
deleted
inserted
replaced
5776:1126b9e00378 | 5777:e95427ed80e5 |
---|---|
205 q NUMBER(38,3) NOT NULL, | 205 q NUMBER(38,3) NOT NULL, |
206 total_channel NUMBER(38,3) NOT NULL, | 206 total_channel NUMBER(38,3) NOT NULL, |
207 main_channel NUMBER(38,3) NOT NULL, | 207 main_channel NUMBER(38,3) NOT NULL, |
208 shear_stress NUMBER(38,3) NOT NULL, | 208 shear_stress NUMBER(38,3) NOT NULL, |
209 PRIMARY KEY(id), | 209 PRIMARY KEY(id), |
210 UNIQUE (station, flow_velocity_model_id), | |
210 CONSTRAINT fk_fvv_flow_velocity_model_id FOREIGN KEY (flow_velocity_model_id) REFERENCES flow_velocity_model(id) ON DELETE CASCADE | 211 CONSTRAINT fk_fvv_flow_velocity_model_id FOREIGN KEY (flow_velocity_model_id) REFERENCES flow_velocity_model(id) ON DELETE CASCADE |
211 ); | 212 ); |
212 | 213 |
213 | 214 |
214 | 215 |
329 noutl NUMBER(38,0), | 330 noutl NUMBER(38,0), |
330 cferguson NUMBER(38,20), | 331 cferguson NUMBER(38,20), |
331 cduan NUMBER(38,20), | 332 cduan NUMBER(38,20), |
332 PRIMARY KEY (id), | 333 PRIMARY KEY (id), |
333 CONSTRAINT fk_sqr_id FOREIGN KEY (sq_relation_id) REFERENCES sq_relation(id) ON DELETE CASCADE, | 334 CONSTRAINT fk_sqr_id FOREIGN KEY (sq_relation_id) REFERENCES sq_relation(id) ON DELETE CASCADE, |
334 CONSTRAINT fk_mstation_id FOREIGN KEY (measurement_station_id) REFERENCES measurement_station(id) | 335 CONSTRAINT fk_mstation_id FOREIGN KEY (measurement_station_id) REFERENCES measurement_station(id) ON DELETE CASCADE |
335 ); | 336 ); |