forked from mirror/pixelfed
20 lines
340 B
PHP
20 lines
340 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
use App\Profile;
|
||
|
|
||
|
class ProfileMigration extends Model
|
||
|
{
|
||
|
use HasFactory;
|
||
|
|
||
|
protected $guarded = [];
|
||
|
|
||
|
public function profile()
|
||
|
{
|
||
|
return $this->belongsTo(Profile::class, 'profile_id');
|
||
|
}
|
||
|
}
|