Skip to content

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

Merged
taylorotwell merged 4 commits into
laravel:5.3from
ameliaikeda:5.3
Oct 17, 2016
Merged

[5.3] Fix #15892 by using the default schema grammar if not set.#15962
taylorotwell merged 4 commits into
laravel:5.3from
ameliaikeda:5.3

Conversation

@ameliaikeda

Copy link
Copy Markdown
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