X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fit%2Fhibernate4-maven-plugin-envers-sample%2Fdrop-tables-hsqldb.sql;h=c2ebbecdb6d05a05830799ee468ca607fe4fbd2c;hp=b1387e801de04e54a84b52e31e74642839eb007a;hb=9866cabaae00b8766c6e97bac61074b9b35a2909;hpb=0e67b8c355ad7f932b552d7a02a0158e17af5aa7 diff --git a/src/it/hibernate4-maven-plugin-envers-sample/drop-tables-hsqldb.sql b/src/it/hibernate4-maven-plugin-envers-sample/drop-tables-hsqldb.sql index b1387e80..c2ebbecd 100644 --- a/src/it/hibernate4-maven-plugin-envers-sample/drop-tables-hsqldb.sql +++ b/src/it/hibernate4-maven-plugin-envers-sample/drop-tables-hsqldb.sql @@ -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;