I had a good working Laravel structure with database migrations and seeding. But I wanted my migration file,classes,db table be renamed to CreateOrganizationsTable instead of CreateOrganisationsTable
So I changed the migration filename, all classes and routes.
But when I execute php artisan migrate:reset in my Homestead box, I get the following error:
PHP Fatal error: Class 'CreateOrganisationsTable' not found in /home/vagrant/Code/vendor/laravel/framework/src/Illuminate/Database/Migrations/Migrator.php on line 299 Artisan created some link I'm unable to fix at the moment.
composer dump-autoload?composer dump-autoloadafter renaming the file and the column in themigrationstable worked for me!