1
0
Fork 0
forked from mirror/pixelfed
pixelfed/app/FollowRequest.php
2018-09-01 22:28:01 -06:00

18 lines
331 B
PHP

<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class FollowRequest extends Model
{
public function follower()
{
return $this->belongsTo(Profile::class, 'follower_id', 'id');
}
public function following()
{
return $this->belongsTo(Profile::class, 'following_id', 'id');
}
}