1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-21 23:32:39 +00:00

Update StoryView model

This commit is contained in:
Daniel Supernault 2019-11-10 17:26:29 -07:00
parent 3b8fe9d574
commit b73823b11a
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
class StoryView extends Model
{
public $fillable = ['story_id', 'profile_id'];
public function story()
{
return $this->belongsTo(Story::class);