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:
parent
3b8fe9d574
commit
b73823b11a
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue