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

Archive old tables on install #2765

Merged
merged 4 commits into from
Apr 6, 2022
Merged

Archive old tables on install #2765

merged 4 commits into from
Apr 6, 2022

Conversation

brandonkelly
Copy link
Member

Description

Calls Migration::archiveTableIfExists() from the installer before creating new tables, in case any old tables were left behind by a prior Commerce install.

That method is getting added in Craft 4 Beta 4, so we’ll need to wait for that to get tagged before this PR can be merged.

Related issues

@brandonkelly brandonkelly changed the base branch from develop to 4.0 April 5, 2022 20:40
@brandonkelly brandonkelly marked this pull request as ready for review April 6, 2022 18:57
@brandonkelly brandonkelly requested a review from a team as a code owner April 6, 2022 18:57
@brandonkelly brandonkelly merged commit e4ad801 into 4.0 Apr 6, 2022
@brandonkelly brandonkelly deleted the feature/archive-tables branch April 6, 2022 19:02
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