mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-23 23:11:27 +00:00
21 lines
307 B
PHP
21 lines
307 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 = 250;
|
|
|
|
public function hashtag()
|
|
{
|
|
return $this->belongsTo(Hashtag::class);
|
|
}
|
|
}
|