我在人际关系上遇到了一个问题,这是我的数据库:iduser_idconversations table:在我的用户类中 return $this->hasMany(Participant::class)`user_id` as `laravel_through_key` from `conversations` inner join
根据下面的代码,我试图在“区段”和“旅游”之间创建一个关系,但是我得到了错误的Table 'yourproject.sections' doesn't exist (SQL: select * fromid' = 1 limit 1)注意:如果我将表名添加到模型中,就会得到一个新的错误。Simply tell Laravel the URIs it should respond to
| and give it the Closure to execute