From 1ad3ee7398e107da9c585cc6c57708a78bd79100 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Tue, 14 Oct 2014 16:47:51 +0200
Subject: [PATCH] fix drop database script

---
 hsarback/database/dropschema.sql |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/hsarback/database/dropschema.sql b/hsarback/database/dropschema.sql
index 6c53b28..04ff5c8 100644
--- a/hsarback/database/dropschema.sql
+++ b/hsarback/database/dropschema.sql
@@ -1,11 +1,11 @@
 DROP TABLE pricelist_ref ;
 DROP TABLE price ;
-DROP TABLE price_list ;
+DROP TABLE price_list CASCADE ;
 -- DROP VIEW business_partner_ticket ;
 DROP TABLE sepa_mandat ;
 DROP SEQUENCE sepa_mandat_id_seq ;
-DROP TABLE contact ;
 DROP SEQUENCE contact_contact_id_seq ;
+DROP TABLE contact CASCADE ;
 DROP TABLE database ;
 DROP TABLE database_user ;
 DROP SEQUENCE database_database_id_seq ;
@@ -39,7 +39,3 @@
 DROP SEQUENCE business_partner_bp_id_seq ;
 DROP SEQUENCE packet_component_id_seq ;
 DROP SEQUENCE component_id_seq ;
--- DROP SEQUENCE bank_account_bank_account_i_seq ;
--- DROP SEQUENCE billdata_billdata_id_seq ;
--- DROP SEQUENCE member_id_seq ;
--- DROP SEQUENCE queue_queue_entry_id_seq ;

--
Gitblit v1.9.0-SNAPSHOT