mirror of
https://github.com/HolgerHatGarKeineNode/einundzwanzig-nostr.git
synced 2026-01-28 07:43:18 +00:00
voting system with nostr added
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Enums\AssociationStatus;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class EinundzwanzigPleb extends Model
|
||||
@@ -9,6 +10,13 @@ class EinundzwanzigPleb extends Model
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'association_status' => AssociationStatus::class,
|
||||
];
|
||||
}
|
||||
|
||||
public function profile()
|
||||
{
|
||||
return $this->hasOne(Profile::class, 'pubkey', 'pubkey');
|
||||
|
||||
Reference in New Issue
Block a user