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