We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When migrations are run, each one is automatically wrapped in a transaction.
This is useful behaviour the majority of the time, because it means the changes are rolled back if the migration fails half way through.
However, if writing a custom migration, which might involve complex logic, having direct control over the transaction can be beneficial.
We should add an option like wrap_in_transaction to MigrationManager, which defaults to True.
wrap_in_transaction
MigrationManager
True
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
When migrations are run, each one is automatically wrapped in a transaction.
This is useful behaviour the majority of the time, because it means the changes are rolled back if the migration fails half way through.
However, if writing a custom migration, which might involve complex logic, having direct control over the transaction can be beneficial.
We should add an option like
wrap_in_transaction
toMigrationManager
, which defaults toTrue
.The text was updated successfully, but these errors were encountered: