wip del err

This commit is contained in:
salam committed 2026-10-04 15:22:39 +02:00
1 parent 812736ca9a
commit 9bcd4432c6
1210 files changed
-220941

No files matched your search

-41
View File
@@ -1,41 +0,0 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use MongoDB\Laravel\Eloquent\HybridRelations;
class SofaScoreRosa extends Model
{
use HybridRelations;
protected $connection = 'mariadb';
protected $fillable = [
'sport_id',
'cc',
'country_id',
'ss_team_id',
'ss_team_name',
'ss_tournament_id',
'slug',
'is_active',
'grapped',
'disabled',
];
public function country()
{
return $this->belongsTo(Country::class);
}
public function sofascore_category()
{
return $this->belongsTo(SofaScoreCategory::class, 'country_id', 'country_id')->where('in_soccer', 1);
}
public function tournament_rosa()
{
return $this->belongsTo(SofaScoreRosaTournament::class, 'ss_team_id', 'ss_team_id');
}
}