Skip to content
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

Create a single changeSet for each call to diffChangeLog #59

Closed
mcordes opened this issue Aug 8, 2014 · 1 comment
Closed

Create a single changeSet for each call to diffChangeLog #59

mcordes opened this issue Aug 8, 2014 · 1 comment

Comments

@mcordes
Copy link

mcordes commented Aug 8, 2014

Hi,

I'd love to have a way to get a single changeSet for each call to diffChangeLog rather than the plethora that are currently created.

@nvoxland
Copy link
Contributor

You mean you want a single changeSet with all the createTable, addColumn etc. calls in it?

The reason there is a single change per changeSet is because that is the best practice. If you combine multiple changes and one fails, Liquibase will end up in a bad state because most databases auto-commit after each DDL statement and so Liquibase cannot roll back the changeSet and so future updates will fail because of already created objects.

@nvoxland nvoxland closed this as completed Aug 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants