1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Update HashtagFollow model, add hashtag relation

This commit is contained in:
Daniel Supernault 2019-07-08 21:46:00 -06:00
parent 3a2f72ddf4
commit 9805cd841f
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -11,4 +11,9 @@ class HashtagFollow extends Model
'profile_id',
'hashtag_id'
];
public function hashtag()
{
return $this->belongsTo(Hashtag::class);
}
}