📌  相关文章
📜  Illuminate\Database\QueryException SQLSTATE[HY000]:一般错误:3780 引用列 - PHP 代码示例

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

代码示例1
//ERROR: Illuminate\Database\QueryException SQLSTATE[HY000]: General error: 3780 Referencing column
//Change...
    $table->integer('user_id')->unsigned()->index();
//To...
    $table->bigInteger('user_id')->unsigned()->index();