-
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
unnecessery recreation of unique constraints #191
Comments
Hey, I've got the exact same problem here and I actually just setup a github project that reproduce this problem. If someone could have a look at it, thanks 👍 |
Anyone interested by a fix I've published something that so far seems to work. This is available at the repo indicated above. This also fixes other issues with that plugin, so enjoy !! |
btw this is probably a duplicate of #173 |
@neivkovic, I ran into a similar issue with Postgres. After some research it appears the database snapshot had the cluster attribute set to false, but the Hibernate snapshot had it set to null. I updated the liquibase-hibernate logic to alway set the cluster attribute to false as I didn't see a way to set it to true from the hibernate configuration. This resolved my issue. I submitted the fix as PR #204. |
Your PR also fixes the issue for Oracle DB 12c. Thanks |
Hi!
We use in our project liquibase-maven-plugin with the newest version, if we create a diff between our mariadb and the hibernate class files. Every unique constraint is dropped and added again.
Will be there in the next future improvements?
Here an example of the mentioned drop/create changeset:
Our project settings:
liquibase-maven-plugin:
Regards
Nenad
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: