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

[5.6] Allow the outside world to access the name of the default connection in Migrator #24665

Merged
merged 1 commit into from
Jun 22, 2018
Merged

Conversation

antoniopaisfernandes
Copy link
Contributor

Sometimes, when porting legacy apps to Laravel, it's necessary to have several connections (legacy code).
When going to reverse engineering the current tables into new migrations there's some logic necessary to 'fork' the connection and accessing the Migrator connection name simplifies things a lot.

It's not like a huge change and the surface API doesn't increase much.

@taylorotwell taylorotwell merged commit 089c202 into laravel:5.6 Jun 22, 2018
@antoniopaisfernandes
Copy link
Contributor Author

Thanks!

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.

None yet

2 participants