mirror of https://github.com/pixelfed/pixelfed.git
14 lines
170 B
PHP
14 lines
170 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class StoryView extends Model
|
||
|
{
|
||
|
public function story()
|
||
|
{
|
||
|
return $this->belongsTo(Story::class);
|
||
|
}
|
||
|
}
|