If you are geting the error class not found when executing the command php artisan migrate:rollback in a project with the Laravel framework, this article shows how to solve the error and execute rollback.

Migrations

When working with Migations, the migrations of databases in the Laravel, mainly in the initial...

featured-key.webp

Sometimes when running a Laravel Migration you get the error: errno 150 "Foreign key constraint is incorrectly formed". This error is mainly caused because your foreign key column is declared in a different data type that is the related key column on source table.

Main cause of the error errno 150: Foreign...