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=b1387e801de04e54a84b52e31e74642839eb007a;hp=1578d8986d3a880efa3c765c88660afc285bdc7b;hb=40e2f2b4f5c2050c8673b5be8a2d374c003acd98;hpb=1628bcf6c9290a729352215ee22e5b48fa628c4c 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 1578d898..b1387e80 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,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;