Answers for "foreign key constraint is incorrectly formed but is correct laravel 7"

PHP
2

foreign key constraint is incorrectly formed laravel

When creating a new table in Laravel. A migration will be generated like:
$table->bigIncrements('id');

Instead of (in older Laravel versions:
$table->increments('id');
Posted by: Guest on April-11-2021

Code answers related to "foreign key constraint is incorrectly formed but is correct laravel 7"

Browse Popular Code Answers by Language