mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-14 02:24:31 +00:00
16 lines
231 B
PHP
16 lines
231 B
PHP
|
<?php
|
||
|
|
||
|
namespace App;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class ProfileSponsor extends Model
|
||
|
{
|
||
|
public $fillable = ['profile_id'];
|
||
|
|
||
|
public function profile()
|
||
|
{
|
||
|
return $this->belongsTo(Profile::class);
|
||
|
}
|
||
|
}
|