kopia lustrzana https://github.com/pixelfed/pixelfed
Update StoryView model
rodzic
3b8fe9d574
commit
b73823b11a
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue