Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel migrations messed up

I meesed up my Laravel migrations and I get PHP Fatal error: Cannot redeclare Class when running

php artisan migrate --path="workbench/fefe/feeds2go/src/migrations"

I have been deleting the migration file and dropping manually the table and recreated with php artisan migrate:make but still the same.

How can I fix migratons?

like image 698
fefe Avatar asked Jul 27 '14 09:07

fefe


1 Answers

You need to check all of your migration class files and check for duplicate class names.

like image 67
lowerends Avatar answered Oct 26 '22 06:10

lowerends