Skip to content

Commit

Permalink
DROP TABLE scripts for new tables
Browse files Browse the repository at this point in the history
  • Loading branch information
romanstrobl committed Jan 20, 2020
1 parent 2320224 commit 92edb7a
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/sql/mysql/drop_schema.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
DROP TABLE IF EXISTS da_sms_authorization;
DROP TABLE IF EXISTS wf_afs_config;
DROP TABLE IF EXISTS wf_operation_session;
DROP TABLE IF EXISTS tpp_consent;
DROP TABLE IF EXISTS tpp_user_consent;
DROP TABLE IF EXISTS tpp_user_consent_history;
DROP TABLE IF EXISTS tpp_detail;
DROP TABLE IF EXISTS tpp_app_detail;
DROP TABLE IF EXISTS ns_step_definition;
DROP TABLE IF EXISTS ns_operation_afs;
DROP TABLE IF EXISTS ns_operation_history;
Expand Down
35 changes: 35 additions & 0 deletions docs/sql/oracle/drop_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,41 @@ WHEN OTHERS THEN NULL;
END;
/

BEGIN
EXECUTE IMMEDIATE 'DROP TABLE tpp_consent';
EXCEPTION
WHEN OTHERS THEN NULL;
END;
/

BEGIN
EXECUTE IMMEDIATE 'DROP TABLE tpp_user_consent';
EXCEPTION
WHEN OTHERS THEN NULL;
END;
/

BEGIN
EXECUTE IMMEDIATE 'DROP TABLE tpp_user_consent_history';
EXCEPTION
WHEN OTHERS THEN NULL;
END;
/

BEGIN
EXECUTE IMMEDIATE 'DROP TABLE tpp_detail';
EXCEPTION
WHEN OTHERS THEN NULL;
END;
/

BEGIN
EXECUTE IMMEDIATE 'DROP TABLE tpp_app_detail';
EXCEPTION
WHEN OTHERS THEN NULL;
END;
/

BEGIN
EXECUTE IMMEDIATE 'DROP TABLE ns_step_definition';
EXCEPTION
Expand Down
5 changes: 5 additions & 0 deletions docs/sql/postgresql/drop_schema.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
DROP TABLE IF EXISTS da_sms_authorization;
DROP TABLE IF EXISTS wf_operation_session;
DROP TABLE IF EXISTS wf_afs_config;
DROP TABLE IF EXISTS tpp_consent;
DROP TABLE IF EXISTS tpp_user_consent;
DROP TABLE IF EXISTS tpp_user_consent_history;
DROP TABLE IF EXISTS tpp_detail;
DROP TABLE IF EXISTS tpp_app_detail;
DROP TABLE IF EXISTS ns_step_definition;
DROP TABLE IF EXISTS ns_operation_afs;
DROP TABLE IF EXISTS ns_operation_history;
Expand Down

0 comments on commit 92edb7a

Please sign in to comment.