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

fix: prevent db/backup from exporting triggeres twice #15854

Closed
wants to merge 1 commit into from

Conversation

gopeter
Copy link
Contributor

@gopeter gopeter commented Oct 8, 2024

Description

If plugins include triggers in their tables, using craft db/backup exports them twice, leading into importing problems since triggers have to be imported after the data to prevent their execution.

@brandonkelly brandonkelly requested a review from angrybrad October 8, 2024 16:33
@brandonkelly
Copy link
Member

Thanks for the PR! Cherry-picked your commit into the 4.x branch instead, as we decided it makes sense to fix it there as well.

@brandonkelly
Copy link
Member

Craft 4.12.6 and 5.4.7 are out with that fix. Thanks again!

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.

3 participants