mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-24 23:35:23 +00:00
Update HashtagFollow model, add hashtag relation
This commit is contained in:
parent
3a2f72ddf4
commit
9805cd841f
1 changed files with 5 additions and 0 deletions
|
@ -11,4 +11,9 @@ class HashtagFollow extends Model
|
|||
'profile_id',
|
||||
'hashtag_id'
|
||||
];
|
||||
|
||||
public function hashtag()
|
||||
{
|
||||
return $this->belongsTo(Hashtag::class);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue