--- /dev/null
+
+ create table TTL_AUDIT_REVISION (
+ ID bigint not null,
+ EVENT_DATE timestamp,
+ ENVERS_TSTAMP bigint not null,
+ USER_NAME varchar(80) not null,
+ primary key (ID)
+ );
+
+ create table TTL_EVENT (
+ ID bigint not null,
+ EVENT_DATE timestamp not null,
+ TITLE varchar(80) not null,
+ primary key (ID)
+ );
+
+ create table TTL_EVENT_AUD (
+ ID bigint not null,
+ REV bigint not null,
+ REVTYPE tinyint,
+ EVENT_DATE timestamp,
+ TITLE varchar(80),
+ primary key (ID, REV)
+ );
+
+ alter table TTL_EVENT_AUD
+ add constraint FK_cjsh8995uabmdm9b30uvmyj6p
+ foreign key (REV)
+ references TTL_AUDIT_REVISION;
+
+ create sequence TTL_AUDIT_REVISION_SEQ;
+
+ create sequence TTL_EVENT_SEQ;
--- /dev/null
+ drop table TTL_AUDIT_REVISION if exists cascade;
+
+ drop table TTL_EVENT if exists cascade;
+
+ drop table TTL_EVENT_AUD if exists cascade;
+
+ drop sequence TTL_AUDIT_REVISION_SEQ if exists ;
+
+ drop sequence TTL_EVENT_SEQ if exists ;
+
--- /dev/null
+import de.juplo.test.FileComparator;
+
+
+FileComparator comparator = new FileComparator(basedir);
+
+if (!comparator.isEqual("create-tables-hsqldb.sql","target/test-classes/sql/create-tables-hsqldb.sql"))
+ return false;
+if (!comparator.isEqual("drop-tables-hsqldb.sql","target/test-classes/sql/drop-tables-hsqldb.sql"))
+ return false;