delete player mariadb

This commit is contained in:
salam committed 2026-04-11 16:09:17 +02:00
1 parent cbe5e6781c
commit c1b5adb3a4
4 files changed
+70 -125

No files matched your search

-21
View File
@@ -1,21 +0,0 @@
<?php
declare(strict_types=1);
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use MongoDB\Laravel\Eloquent\HybridRelations;
class Player extends Model
{
use HybridRelations;
protected $connection = 'mariadb';
protected $fillable = [
'id',
'name',
'birthday',
];
}
-5
View File
@@ -112,9 +112,4 @@ class UbEvent extends Model
{
return $this->belongsTo(Element::class, 'away_id', 'id');
}
public function player(): BelongsTo
{
return $this->belongsTo(Player::class, 'player_id', 'id');
}
}