-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
liquibase ignores envers tables postfix therefore tables missing #169
Comments
I have seen and tried those, that's why I mention I tried @Audittable. But that's workaround anyway. Hope someone can solve it finally. |
I wrote another workaournd in #99 which could solve this problem. Just set the "unsupported" properties via the environment (i.e -Dorg.hibernate.envers.audit_table_suffix=_vers) |
Yes, now the problem is that it makes diff of the 'audit' postgre schema but on update goal it updates 'public' schema with the audit tables.. |
Does someone has a fix for this? Struggling with this problem too. @MalteKrueger's workaround seems not to work out for me. |
I am using liquibase 3.5.3 with hibernate 5.2.9.Final and envers 5.2.12.Final.
liquibase configuration:
pom.xml:
liquibase.properties:
JPAConfig.java:
so you see, my audit tables gets generated in 'audit' catalog with the '_vers' suffix.
when I run 'mvn liquibase:diff' it keeps telling me that audit tables are missing:
so it can't read suffinx information form the hibernate configuration.
I have tried set @AuditTable on the entity with the value of the actual table name, but does not help.
advice, please.
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: