kopia lustrzana https://github.com/pixelfed/pixelfed
Update StoryReaction model
rodzic
d9f61d0424
commit
d5bb6626b3
|
@ -6,8 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
class StoryItem extends Model
|
||||
{
|
||||
public function story()
|
||||
{
|
||||
return $this->belongsTo(Story::class);
|
||||
}
|
||||
public function story()
|
||||
{
|
||||
return $this->belongsTo(Story::class);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
class StoryReaction extends Model
|
||||
{
|
||||
//
|
||||
public function story()
|
||||
{
|
||||
return $this->belongsTo(Story::class);
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue