mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-03 04:30:16 +00:00
18 lines
253 B
PHP
18 lines
253 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class EinundzwanzigPleb extends Model
|
|
{
|
|
|
|
protected $guarded = [];
|
|
|
|
public function profile()
|
|
{
|
|
return $this->hasOne(Profile::class, 'pubkey', 'pubkey');
|
|
}
|
|
|
|
}
|