Support the ongoing development of Laravel.io →
Database Eloquent
Last updated 2 years 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 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.