Upgraded Hibernate 5.3.9.Final to 5.4.2.Final
[hibernate4-maven-plugin] / src / it / hibernate4-maven-plugin-envers-sample / drop-tables-hsqldb.sql
index b1387e8..c2ebbec 100644 (file)
@@ -1,12 +1,9 @@
 
-    alter table TTL_EVENT_AUD 
-        drop constraint FK295td34se5kaxwgo8i1ph0k4;
+    drop table if exists TTL_AUDIT_REVISION CASCADE ;
 
-    drop table TTL_AUDIT_REVISION if exists;
+    drop table if exists TTL_EVENT CASCADE ;
 
-    drop table TTL_EVENT if exists;
-
-    drop table TTL_EVENT_AUD if exists;
+    drop table if exists TTL_EVENT_AUD CASCADE ;
 
     drop sequence TTL_AUDIT_REVISION_SEQ if exists;