📜  外键约束的格式不正确 laravel - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:15.281000             🧑  作者: Mango

代码示例1
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');