mirror of https://github.com/pixelfed/pixelfed
Add StoryView Model
parent
d5bb6626b3
commit
eb652bf339
@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace App;
|
||||||
|
|
||||||
|
use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
|
class StoryView extends Model
|
||||||
|
{
|
||||||
|
public function story()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Story::class);
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue