Mercurial > dive4elements > river
view flys-backend/doc/schema/oracle-drop-minfo.sql @ 2807:5ac1db5156be
Some oracle db schema adaptions specific to bed heights in MINFO.
flys-backend/trunk@4215 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 11 Apr 2012 13:09:46 +0000 |
parents | a55b7b35cc3a |
children | f283212966e8 |
line wrap: on
line source
SET AUTOCOMMIT ON; ALTER TABLE elevation_model DROP CONSTRAINT fk_unit; ALTER TABLE bed_height_single DROP CONSTRAINT fk_type; ALTER TABLE bed_height_single DROP CONSTRAINT fk_location_system; ALTER TABLE bed_height_single DROP CONSTRAINT fk_cur_elevation_model; ALTER TABLE bed_height_single DROP CONSTRAINT fk_old_elevation_model; ALTER TABLE bed_height_single DROP CONSTRAINT fk_range; ALTER TABLE bed_height_single_values DROP CONSTRAINT fk_bed_single_values_parent; ALTER TABLE bed_height_epoch_values DROP CONSTRAINT fk_bed_epoch_values_parent; ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_type; ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_cur_elevation_model; ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_old_elevation_model; ALTER TABLE bed_height_epoch DROP CONSTRAINT fk_range; DROP TABLE bed_height_type; DROP TABLE location_system; DROP TABLE elevation_model; DROP TABLE bed_height_single; DROP TABLE bed_height_single_values; DROP TABLE bed_height_epoch_values; DROP TABLE bed_height_epoch; DROP SEQUENCE BED_HEIGHT_TYPE_SEQ; DROP SEQUENCE LOCATION_SYSTEM_SEQ; DROP SEQUENCE ELEVATION_MODEL_SEQ; DROP SEQUENCE BED_HEIGHT_SINGLE_ID_SEQ; DROP SEQUENCE BED_SINGLE_VALUES_ID_SEQ; DROP SEQUENCE BED_EPOCH_VALUES_ID_SEQ; DROP SEQUENCE BED_HEIGHT_EPOCH_ID_SEQ;