I tried running composer dump-autoload and after that run migrate and got this error
Class 'CreateContentTemplateBlocksTable' not found
I renamed the file into 'CreateTemplateBlocksTable'.
Why is laravel still looking for the old file name? Is there cache somewhere?
Change the migration class name to match, and then re-run composer dump-autoload. If that doesn't work, go to
vendor\composer\autoload_static.php
to change the name here as well.
The last place to check is your DB, which creates a table for all of your migrations (that's the table name). Edit the necessary names here as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With