X-Git-Url: https://juplo.de/gitweb/?p=hibernate4-maven-plugin;a=blobdiff_plain;f=src%2Fit%2Ftutorials%2Fschema-envers.sql;fp=src%2Fit%2Ftutorials%2Fschema-envers.sql;h=0000000000000000000000000000000000000000;hp=ecec80efc160ef1ab938315d898949770bfcf47d;hb=0b6b9a1bd8950880713885618d8e31c772a085ec;hpb=9e37fd1049f8a6794396cd7c8879dc413fbcb87c diff --git a/src/it/tutorials/schema-envers.sql b/src/it/tutorials/schema-envers.sql deleted file mode 100644 index ecec80ef..00000000 --- a/src/it/tutorials/schema-envers.sql +++ /dev/null @@ -1,27 +0,0 @@ - - create table EVENTS ( - id bigint not null, - EVENT_DATE timestamp, - title varchar(255), - primary key (id) - ); - - create table EVENTS_AUD ( - id bigint not null, - REV integer not null, - REVTYPE tinyint, - EVENT_DATE timestamp, - title varchar(255), - primary key (id, REV) - ); - - create table REVINFO ( - REV integer generated by default as identity, - REVTSTMP bigint, - primary key (REV) - ); - - alter table EVENTS_AUD - add constraint FK5cembm6xahf542q8e4h0pq2t1 - foreign key (REV) - references REVINFO;