Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 4 months ago.
0

I have generally encountered this error when i have manually made any changes in the tablenames, or the migration-file-names. A better way is to delete the database and create a new one and then migrate:install and migrate.

You can also try php artisan clear-compiled and php artisan dump-autoload also works sometimes. The error would get fixed by either of the above 2 methods, though i clearly dont know why and how.

Last updated 4 months ago.
0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.