-- Version for PostgreSQL ("CASCADE;" instead of "CASCADE CONSTRAINTS;")

--REM ----------------------------------------------
--REM ------------    Delete Sequence    -----------
--REM ----------------------------------------------

DROP SEQUENCE ALL_SQ;

--REM ----------------------------------------------
--REM ------------    Delete Tables    -------------
--REM ----------------------------------------------

DROP TABLE M4_ACCESS_T       CASCADE;
DROP TABLE HCI_COORD_T       CASCADE;

DROP TABLE CON_DATATYPE_T    CASCADE;
DROP TABLE COL_DATATYPE_T    CASCADE;
DROP TABLE OP_TYPE_T         CASCADE;
DROP TABLE CONCEPT_T         CASCADE;
DROP TABLE CONCEPTISA_T      CASCADE;
DROP TABLE PROJECTION_T      CASCADE;
DROP TABLE MCFEATURE_T       CASCADE;
DROP TABLE RELATION_T        CASCADE;
DROP TABLE RELATIONISA_T     CASCADE;
DROP TABLE COLUMNSET_T       CASCADE;
DROP TABLE BASEATTRIB_T      CASCADE;
DROP TABLE COLUMN_T          CASCADE;
DROP TABLE KEYHEAD_T         CASCADE;
DROP TABLE KEYMEMBER_T       CASCADE;
DROP TABLE CSSTATIST_T       CASCADE;
DROP TABLE COLSTATIST1_T     CASCADE;
DROP TABLE COLSTATIST2_T     CASCADE;
DROP TABLE VALUE_T           CASCADE;
DROP TABLE ROLERESTRICTION_T CASCADE;
DROP TABLE CASE_T            CASCADE;
DROP TABLE CASEINPUT_T       CASCADE;
DROP TABLE CASEATTRIB_T      CASCADE;
DROP TABLE OPERATOR_T        CASCADE;
DROP TABLE PARAMETER_T       CASCADE;
DROP TABLE STEP_T            CASCADE;
DROP TABLE STEPSEQUENCE_T    CASCADE;
DROP TABLE DOCU_T            CASCADE;

DROP TABLE OP_PARAMS_T       CASCADE;
DROP TABLE OP_CONSTR_T       CASCADE;
DROP TABLE OP_COND_T         CASCADE;
DROP TABLE OP_ASSERT_T       CASCADE;
DROP TABLE CHAIN_T           CASCADE;
DROP TABLE BA_CONCEPT_T      CASCADE;
DROP TABLE BA_COLUMN_T       CASCADE;

DROP TABLE M4TRASH_T	     CASCADE;
DROP TABLE DBTRASH_T         CASCADE;
DROP TABLE REVSTEP_T         CASCADE;
DROP TABLE ROLES_T           CASCADE;