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 hook method for migrations to skip creating a transaction #745

Merged
merged 2 commits into from
Sep 16, 2024

Conversation

markstory
Copy link
Member

There are schema operations that you don't want a wrapping transaction, like if you're modifying a sqlite database. This new method allows migrations to opt-out of having a transaction wrapped around each migration automatically.

Refs #741

There are schema operations that you don't want a wrapping transaction,
like if you're modifying a sqlite database. This new method allows
migrations to opt-out of having a transaction wrapped around each
migration automatically.

Refs #741
@markstory markstory added this to the 4.x (CakePHP 5) milestone Sep 13, 2024
@markstory markstory merged commit 8bc6285 into 4.x Sep 16, 2024
16 checks passed
@markstory markstory deleted the migration-transactions branch September 16, 2024 02:30
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.

1 participant