Configured the 5.1.17-tutorials as integration-tests for the plugin
[hibernate4-maven-plugin] / src / it / hibernate4-maven-plugin-envers-sample / drop-tables-hsqldb.sql
index 1578d89..b1387e8 100644 (file)
@@ -1,10 +1,13 @@
-    drop table TTL_AUDIT_REVISION if exists cascade;
 
-    drop table TTL_EVENT if exists cascade;
+    alter table TTL_EVENT_AUD 
+        drop constraint FK295td34se5kaxwgo8i1ph0k4;
 
-    drop table TTL_EVENT_AUD if exists cascade;
+    drop table TTL_AUDIT_REVISION if exists;
 
-    drop sequence TTL_AUDIT_REVISION_SEQ if exists ;
+    drop table TTL_EVENT if exists;
 
-    drop sequence TTL_EVENT_SEQ if exists ;
+    drop table TTL_EVENT_AUD if exists;
 
+    drop sequence TTL_AUDIT_REVISION_SEQ if exists;
+
+    drop sequence TTL_EVENT_SEQ if exists;