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.3] Fix #15892 by using the default schema grammar if not set. #15962

Merged
merged 4 commits into from
Oct 17, 2016
Merged

[5.3] Fix #15892 by using the default schema grammar if not set. #15962

merged 4 commits into from
Oct 17, 2016

Conversation

ameliaikeda
Copy link
Contributor

I broke rolling back migrations in #15780; this fixes that break.

When rolling back a migration, there is no set Schema grammar.

I also ensured that we use the migration's connection (protected $connection = 'foo';) whenever we wrap migrations in a transaction, in case it has been overridden.

@taylorotwell taylorotwell merged commit 778350e into laravel:5.3 Oct 17, 2016
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