mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-30 02:03:16 +00:00
22 lines
372 B
PHP
22 lines
372 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
use App\Profile;
|
||
|
|
||
|
class UserDomainBlock extends Model
|
||
|
{
|
||
|
use HasFactory;
|
||
|
|
||
|
protected $guarded = [];
|
||
|
|
||
|
public $timestamps = false;
|
||
|
|
||
|
public function profile()
|
||
|
{
|
||
|
return $this->belongsTo(Profile::class, 'profile_id');
|
||
|
}
|
||
|
}
|