mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 00:05:29 +00:00
Update Collection model
This commit is contained in:
parent
83d5fc404d
commit
d26704c713
1 changed files with 4 additions and 1 deletions
|
@ -6,5 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
|||
|
||||
class Collection extends Model
|
||||
{
|
||||
//
|
||||
public function profile()
|
||||
{
|
||||
return $this->belongsTo(Profile::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue