diff --git a/app/Story.php b/app/Story.php index 1b581010d..9ac755c97 100644 --- a/app/Story.php +++ b/app/Story.php @@ -6,5 +6,18 @@ use Illuminate\Database\Eloquent\Model; class Story extends Model { - // + public function items() + { + return $this->hasMany(StoryItem::class); + } + + public function reactions() + { + return $this->hasMany(StoryReaction::class); + } + + public function views() + { + return $this->hasMany(StoryView::class); + } }