Skip to content

Conversation

axlon
Copy link
Contributor

@axlon axlon commented Feb 6, 2020

Right now all migration commands that load migrations from a directory allow for multiple paths to be used, except for fresh and refresh.

Before this change you would have to do

php artisan migrate:fresh --path=path1
php artisan migrate --path=path2

or

php artisan migrate:fresh
php artisan migrate --path=path1 --path=path2

After this change the following would suffice:

php artisan migrate:fresh --path=path1 --path=path2

This PR shouldn't contains any breaking changes unless you extended the Fresh/Refresh command and are expecting the path option to be a string.

@axlon axlon changed the title Allow multiple paths to be passed to migrate fresh and migrate refresh [6.x] Allow multiple paths to be passed to migrate fresh and migrate refresh Feb 6, 2020
@taylorotwell taylorotwell merged commit 5de4b1f into laravel:6.x Feb 6, 2020
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