mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-17 20:11:27 +00:00
15 lines
220 B
PHP
15 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);
|
|
}
|
|
}
|