mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update FollowRequest model
This commit is contained in:
parent
38d6d58dc8
commit
13894415ee
1 changed files with 2 additions and 0 deletions
|
@ -6,6 +6,8 @@ use Illuminate\Database\Eloquent\Model;
|
||||||
|
|
||||||
class FollowRequest extends Model
|
class FollowRequest extends Model
|
||||||
{
|
{
|
||||||
|
protected $fillable = ['follower_id', 'following_id'];
|
||||||
|
|
||||||
public function follower()
|
public function follower()
|
||||||
{
|
{
|
||||||
return $this->belongsTo(Profile::class, 'follower_id', 'id');
|
return $this->belongsTo(Profile::class, 'follower_id', 'id');
|
||||||
|
|
Loading…
Reference in a new issue