{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/8813","labels_url":"https://api.github.com/repos/laravel/framework/issues/8813/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/8813/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/8813/events","html_url":"https://github.com/laravel/framework/issues/8813","id":78239522,"number":8813,"title":"Artisan:rollback missing --path argument","user":{"login":"itsash--","id":1327452,"avatar_url":"https://avatars.githubusercontent.com/u/1327452?v=3","gravatar_id":"","url":"https://api.github.com/users/itsash--","html_url":"https://github.com/itsash--","followers_url":"https://api.github.com/users/itsash--/followers","following_url":"https://api.github.com/users/itsash--/following{/other_user}","gists_url":"https://api.github.com/users/itsash--/gists{/gist_id}","starred_url":"https://api.github.com/users/itsash--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsash--/subscriptions","organizations_url":"https://api.github.com/users/itsash--/orgs","repos_url":"https://api.github.com/users/itsash--/repos","events_url":"https://api.github.com/users/itsash--/events{/privacy}","received_events_url":"https://api.github.com/users/itsash--/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laravel/framework/labels/database","name":"database","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-19T20:28:35Z","updated_at":"2015-05-25T02:44:49Z","closed_at":null,"body":"I believe this is a bug because `--path` is available when running `php artisan migrate --path=/vendor/package/database/migrations`.\r\n\r\nHowever I get the following error when I run: `php artisan migrate:rollback`\r\n\r\n```\r\n[Symfony\\Component\\Debug\\Exception\\FatalErrorException]  \r\n  Class 'CreateSomeRandomTable' not found\r\n```\r\n\r\nThis is because the migrations keeps looking in /database/migrations, but the migrations were run from `--path`.\r\n\r\nAlso, since `artisan:rollback` works by the most recent batch, until the batch prior using `--path` would work.  I can see how `refresh` and `reset` would not work with this argument though.\r\n"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/105099025","html_url":"https://github.com/laravel/framework/issues/8813#issuecomment-105099025","issue_url":"https://api.github.com/repos/laravel/framework/issues/8813","id":105099025,"user":{"login":"itsash--","id":1327452,"avatar_url":"https://avatars.githubusercontent.com/u/1327452?v=3","gravatar_id":"","url":"https://api.github.com/users/itsash--","html_url":"https://github.com/itsash--","followers_url":"https://api.github.com/users/itsash--/followers","following_url":"https://api.github.com/users/itsash--/following{/other_user}","gists_url":"https://api.github.com/users/itsash--/gists{/gist_id}","starred_url":"https://api.github.com/users/itsash--/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itsash--/subscriptions","organizations_url":"https://api.github.com/users/itsash--/orgs","repos_url":"https://api.github.com/users/itsash--/repos","events_url":"https://api.github.com/users/itsash--/events{/privacy}","received_events_url":"https://api.github.com/users/itsash--/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T02:44:49Z","updated_at":"2015-05-25T02:44:49Z","body":"I've been looking into this issue and it's more difficult that I thought. I've had inconsistent results, in that it sometimes works and then it doesn't with different errors from cannot redelcare classes etc.\r\n\r\nI think the best thing would be to allow multiple directories to glob for the migrator instead of `--path` because i personally don't see the point in publishing everything from a package into the application, otherwise it defeats the point of them imo.\r\n\r\nWhat are your thoughts on this?"}}