Shankar Thiyagaraajan February 2016

php artisan migrate:refresh | ERROR [Laravel5]

I use Laravel 5. when i try to refresh the migration,

INPUT:

  php artisan make:migrate

OUTPUT :

  [Symfony\Component\Debug\Exception\FatalErrorException]  
  Class '****' not found

Even i remove that classes also.

Answers


Jilson Thomas February 2016

Just run

composer dump-autoload


Shankar Thiyagaraajan February 2016

The Class "Todo", which I created record is exist in "Migration" table. Command working when I remove that record.

Post Status

Asked in February 2016
Viewed 1,497 times
Voted 4
Answered 2 times

Search




Leave an answer