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

Add --single-transaction option #204

Merged
merged 1 commit into from
Mar 1, 2018
Merged

Conversation

ef4
Copy link
Contributor

@ef4 ef4 commented Mar 1, 2018

This adds a new boolean option, --single-transaction. When true, all pending migrations are combined into a single database transaction. This is useful if you want to ensure that your database will get either all of the pending migrations or none of them, without ending up in an indeterminate state in between.

This adds a new boolean option, `--single-transaction`. When true, all pending migrations are combined into a single database transaction. This is useful if you want to make sure your database will get either _all_ of the pending migrations or _none_ of them, without ending up in an indeterminate state in between.
Copy link
Contributor

@dolezel dolezel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯 Great! Thanks!

@dolezel dolezel merged commit 5ccccf9 into salsita:master Mar 1, 2018
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

Successfully merging this pull request may close these issues.

2 participants