mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Add StoryView Model
This commit is contained in:
parent
d5bb6626b3
commit
eb652bf339
1 changed files with 13 additions and 0 deletions
13
app/StoryView.php
Normal file
13
app/StoryView.php
Normal file
|
@ -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 a new issue