0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Laravelでrollbackができない場合の対処

Posted at

事象

laravelでmigrateしたあとにrollbackをしようとすると、以下のエラーが出る。
Symfony/Conponent/Debug/Exception/FatalErrorException Class {クラス名} not found

解決法

たぶん、laravelを使っている人はComposerを使っていると思うので
それを使ってあげればおk
$ php ../composer.phar dump-autoload

Generating autoload files
メッセージが出るから、もう一度
$ php artisan migrate:rollback
すれば無事rollback完了。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?