This commit is contained in:
salam committed 2026-09-11 10:49:49 +02:00
1 parent f028a8b2a8
commit 60ab054eb2
5 files changed
+18 -16

No files matched your search

+6 -4
View File
@@ -2,19 +2,21 @@
namespace App\Console\Commands;
use App\Traits\UpdatePlayerSeasonHelper;
use App\Traits\UpdateHelper;
use Illuminate\Console\Command;
class Upd extends Command
{
use UpdatePlayerSeasonHelper;
use UpdateHelper;
protected $signature = 'upd {--d}';
protected $signature = 'update:player {--d}';
protected $description = 'update sofa_score_player_per_seasons';
public function handleUpdate(int $playerCount): void
{
$this->update($playerCount);
// Have fun running imports here
// Examples can be found in the ImportHelper trait
$this->updatePlayers($playerCount);
}
}