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

[6.x] Allow multiple paths to be passed to migrate fresh and migrate refresh #31381

Merged
merged 3 commits into from
Feb 6, 2020
Merged

[6.x] Allow multiple paths to be passed to migrate fresh and migrate refresh #31381

merged 3 commits into from
Feb 6, 2020

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.

None yet

2 participants