mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-03 05:34:14 +00:00
Update CollectionItem
This commit is contained in:
parent
d26704c713
commit
a0bebad28c
1 changed files with 4 additions and 1 deletions
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class CollectionItem extends Model
|
class CollectionItem extends Model
|
||||||
{
|
{
|
||||||
//
|
public function collection()
|
||||||
|
{
|
||||||
|
return $this->belongsTo(Collection::class);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue