-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
Can't provide a path to migrate:rollback #13631
Comments
If you run
Did you try this? |
@mrk-j it looks like your Laravel isnt working properly. Because after creating migration, Laravel always runs |
@minhchu I just copied another migration to try this, so |
Ah, sorry for the misunderstanding. If you just copied you have to |
@warrickhill This issue can be closed? |
…aravel#13631 Added path support for artisan migrate:rollback/refresh/reset fixed laravel#13631 Add --path support to ResetCommand and RefreshCommand Add --path to refresh command test. Update refresh command test.
See my PR above. This is still an issue. For example, I have a multi-tenant app with one main application/security database and separate tenant databases. I keep tenant migrations stored in a |
if you run
php artisan migrate --path=path/to/migrations
the migrations run fine but you can't runphp artisan migrate:rollback --path=path/to/migrations
The "--path" option does not exist.
The text was updated successfully, but these errors were encountered: