Skip to content

[7.x] RefreshDatabase migration commands parameters moved to methods#34007

Merged
taylorotwell merged 2 commits intolaravel:7.xfrom
masterix21:feature-parameters-on-test-migrations
Aug 27, 2020
Merged

[7.x] RefreshDatabase migration commands parameters moved to methods#34007
taylorotwell merged 2 commits intolaravel:7.xfrom
masterix21:feature-parameters-on-test-migrations

Conversation

@masterix21
Copy link
Contributor

Using the Framework could be useful to customize the parameters used by migration commands without extending every time the refreshTestDatabase or refreshInMemoryDatabase methods from RefreshDatabase.

For example, if you use a conventional database but your migrations aren't in the default path, or if you use a connection different than the ones specified by the environment.

@driesvints driesvints changed the title RefreshDatabase migration commands parameters moved to methods [7.x] RefreshDatabase migration commands parameters moved to methods Aug 25, 2020
@taylorotwell taylorotwell merged commit 623dccb into laravel:7.x Aug 27, 2020
@masterix21 masterix21 deleted the feature-parameters-on-test-migrations branch August 27, 2020 15:18
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