view flys-backend/doc/schema/postgresql-cleanup.sql @ 466:8bd50b41dea6

Moved the SessionHolder from flys-artifacts to flys-backend. flys-backend/trunk@1700 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Fri, 15 Apr 2011 09:49:21 +0000
parents 4a83e14f40f9
children 77f337650211
line wrap: on
line source
BEGIN;

DROP TABLE wst_column_q_ranges;
DROP TABLE wst_q_ranges;
DROP TABLE wst_column_values;
DROP TABLE wst_column;
DROP TABLE wst;

DROP TABLE discharge_table_values;
DROP TABLE discharge_tables;

DROP TABLE main_values CASCADE;
DROP TABLE time_intervals CASCADE;
DROP TABLE named_main_values CASCADE;
DROP TABLE main_value_types CASCADE;

DROP TABLE gauges CASCADE;

DROP TABLE annotations CASCADE;
DROP TABLE positions CASCADE;
DROP TABLE ranges CASCADE;
DROP TABLE attributes CASCADE;

DROP TABLE rivers CASCADE;

DROP SEQUENCE WST_COLUMN_Q_RANGES_ID_SEQ;
DROP SEQUENCE WST_Q_RANGES_ID_SEQ;
DROP SEQUENCE WST_COLUMN_VALUES_ID_SEQ;
DROP SEQUENCE WST_COLUMNS_ID_SEQ;
DROP SEQUENCE WSTS_ID_SEQ;
DROP SEQUENCE DISCHARGE_TABLE_VALUES_ID_SEQ;
DROP SEQUENCE DISCHARGE_TABLES_ID_SEQ;
DROP SEQUENCE MAIN_VALUES_ID_SEQ;
DROP SEQUENCE TIME_INTERVALS_ID_SEQ;
DROP SEQUENCE NAMED_MAIN_VALUES_ID_SEQ;
DROP SEQUENCE MAIN_VALUE_TYPES_ID_SEQ;
DROP SEQUENCE GAUGES_ID_SEQ;
DROP SEQUENCE ANNOTATIONS_ID_SEQ;
DROP SEQUENCE POSITIONS_ID_SEQ;
DROP SEQUENCE RANGES_ID_SEQ;
DROP SEQUENCE ATTRIBUTES_ID_SEQ;
DROP SEQUENCE RIVERS_ID_SEQ;

COMMIT;

http://dive4elements.wald.intevation.org