pixelfed/app/StoryView.php
2019-11-10 17:26:29 -07:00

16 lines
220 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class StoryView extends Model
{
public $fillable = ['story_id', 'profile_id'];
public function story()
{
return $this->belongsTo(Story::class);
}
}