Update StoryReaction model
This commit is contained in:
parent
d9f61d0424
commit
d5bb6626b3
2 changed files with 8 additions and 5 deletions
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class StoryReaction extends Model
|
class StoryReaction extends Model
|
||||||
{
|
{
|
||||||
//
|
public function story()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Story::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue