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