pixelfed/app/StoryView.php

16 lines
220 B
PHP
Raw Permalink Normal View History

2019-01-12 07:45:27 +00:00
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class StoryView extends Model
{
2019-11-11 00:26:29 +00:00
public $fillable = ['story_id', 'profile_id'];
2019-01-12 07:45:27 +00:00
public function story()
{
return $this->belongsTo(Story::class);
}
}