mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
Update StoryReaction model
This commit is contained in:
parent
d9f61d0424
commit
d5bb6626b3
2 changed files with 8 additions and 5 deletions
|
@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class StoryItem extends Model
|
class StoryItem extends Model
|
||||||
{
|
{
|
||||||
public function story()
|
public function story()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Story::class);
|
return $this->belongsTo(Story::class);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class StoryReaction extends Model
|
class StoryReaction extends Model
|
||||||
{
|
{
|
||||||
//
|
public function story()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Story::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue