Laravel Cartalyst Sentinel не может откатить миграцию

Я не могу откатить все миграции. Когда я бегу php artisan migrate:reset все мои миграции отступают, кроме Стража. И я получил следующую ошибку:

PHP Fatal error:  Class 'MigrationCartalystSentinel' not found in /home/vagrant/Projects/MuzzaLife/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php on line 301
PHP Stack trace:
PHP   1. {main}() /home/vagrant/Projects/MuzzaLife/artisan:0
PHP   2. Symfony\Component\Console\Application->run() /home/vagrant/Projects/MuzzaLife/artisan:59
PHP   3. Symfony\Component\Console\Application->doRun() /home/vagrant/Projects/MuzzaLife/vendor/symfony/console/Symfony/Component/Console/Application.php:124
PHP   4. Symfony\Component\Console\Application->doRunCommand() /home/vagrant/Projects/MuzzaLife/vendor/symfony/console/Symfony/Component/Console/Application.php:193
PHP   5. Illuminate\Console\Command->run() /home/vagrant/Projects/MuzzaLife/vendor/symfony/console/Symfony/Component/Console/Application.php:889
PHP   6. Symfony\Component\Console\Command\Command->run() /home/vagrant/Projects/MuzzaLife/vendor/laravel/framework/src/Illuminate/Console/Command.php:100
PHP   7. Illuminate\Console\Command->execute() /home/vagrant/Projects/MuzzaLife/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:253
PHP   8. Illuminate\Database\Console\Migrations\ResetCommand->fire() /home/vagrant/Projects/MuzzaLife/vendor/laravel/framework/src/Illuminate/Console/Command.php:112
PHP   9. Illuminate\Database\Migrations\Migrator->rollback() /home/vagrant/Projects/MuzzaLife/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/ResetCommand.php:61
PHP  10. Illuminate\Database\Migrations\Migrator->runDown() /home/vagrant/Projects/MuzzaLife/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:172
PHP  11. Illuminate\Database\Migrations\Migrator->resolve() /home/vagrant/Projects/MuzzaLife/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php:192
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'MigrationCartalystSentinel' not found","file":"\/home\/vagrant\/Projects\/MuzzaLife\/vendor\/laravel\/framework\/src\/Illuminate\/Database\/Migrations\/Migrator.php","line":301}}vagrant@homestead:~/Projects/MuzzaLife$ 

Как правильно сбросить все миграции, включая Cartalyst Sentinel?

1 ответ

Следующая команда должна решить проблему:

composer dump-autoload

Другие вопросы по тегам