X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Fit%2Fhibernate4-maven-plugin-envers-sample%2Fdrop-tables-hsqldb.sql;h=c2ebbecdb6d05a05830799ee468ca607fe4fbd2c;hb=9866cabaae00b8766c6e97bac61074b9b35a2909;hp=b1387e801de04e54a84b52e31e74642839eb007a;hpb=ee7f6da0225efc14d89fab58d88a45c98823399e;p=hibernate4-maven-plugin 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;