1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-03-12 23:28:12 +00:00
pixelfed/app/HashtagFollow.php
2025-03-02 03:51:38 -07:00

21 lines
306 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class HashtagFollow extends Model
{
protected $fillable = [
'user_id',
'profile_id',
'hashtag_id'
];
const MAX_LIMIT = 25;
public function hashtag()
{
return $this->belongsTo(Hashtag::class);
}
}