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

[8.x] Add fallback when migration is not anonymous class #37166

Merged
merged 1 commit into from
Apr 28, 2021

Conversation

netpok
Copy link
Contributor

@netpok netpok commented Apr 28, 2021

This PR makes migrator try to fall back named migration when it fails to load an anonymous one.

This is a fix for an edge case described by @Tofandel in #37006 and does not have any negative consequences.

@GrahamCampbell GrahamCampbell changed the title Add fallback when migration is not anonymous class [8.x] Add fallback when migration is not anonymous class Apr 28, 2021
@taylorotwell taylorotwell merged commit 6509ad8 into laravel:8.x Apr 28, 2021
@netpok netpok deleted the add-migration-fallback branch April 28, 2021 20:10
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