CREATE TABLE `testentity` (
`id` bigint(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `testentity_strings` (
`TestEntity_id` bigint(20) NOT NULL,
`strings` varchar(255) DEFAULT NULL,
KEY `FK6gvnp6uhj6p14qb8jr7w4a4sc` (`TestEntity_id`),
CONSTRAINT `FK6gvnp6uhj6p14qb8jr7w4a4sc` FOREIGN KEY (`TestEntity_id`) REFERENCES `testentity` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `testentity_aud` (
`id` bigint(20) NOT NULL,
`revision` int(11) NOT NULL,
`action` tinyint(4) DEFAULT NULL,
PRIMARY KEY (`id`,`revision`),
KEY `FKtoml4ns3581arnt5f7i1srxai` (`revision`),
CONSTRAINT `FKtoml4ns3581arnt5f7i1srxai` FOREIGN KEY (`revision`) REFERENCES `revinfo` (`REV`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
CREATE TABLE `testentity_strings_aud` (
`revision` int(11) NOT NULL,
`TestEntity_id` bigint(20) NOT NULL,
`strings` varchar(255) NOT NULL,
`action` tinyint(4) DEFAULT NULL,
PRIMARY KEY (`revision`,`TestEntity_id`,`strings`),
CONSTRAINT `FKadlc041c3dxra6fmfxsku0fuh` FOREIGN KEY (`revision`) REFERENCES `revinfo` (`REV`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;