mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
20 lines
279 B
PHP
20 lines
279 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class HashtagFollow extends Model
|
|
{
|
|
protected $fillable = [
|
|
'user_id',
|
|
'profile_id',
|
|
'hashtag_id'
|
|
];
|
|
|
|
public function hashtag()
|
|
{
|
|
return $this->belongsTo(Hashtag::class);
|
|
}
|
|
}
|