Adding a polymorphic relationship to a mysql view model?

后端 未结 0 1490
忘了有多久
忘了有多久 2020-11-28 02:25

On a book and a movie model, I define a polymorphic relationship to comments:

public function comments()
{
    return $this->morp         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题