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

Use getConnection method in Migrations #736

Merged

Conversation

antonkomarev
Copy link
Contributor

Related to laravel/framework#29983

Migration has getConnection() method which used inside of the Migrator class to determine if schema transactions are supported. Without this PR Migrator will check default database connection, but migrations could be executed on custom connection.

@taylorotwell taylorotwell merged commit 48124f7 into laravel:2.0 Sep 16, 2019
@antonkomarev antonkomarev deleted the fix/use-get-connection-in-migrations branch September 16, 2019 22:26
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