diff --git a/app/Filament/Imports/StatistikoImporter.php b/app/Filament/Imports/StatistikoImporter.php index fa6842be..9aacdc48 100644 --- a/app/Filament/Imports/StatistikoImporter.php +++ b/app/Filament/Imports/StatistikoImporter.php @@ -3,6 +3,7 @@ namespace App\Filament\Imports; use App\Models\StatistikoEvent; +use App\Models\StatistikoImport; use App\Models\StatistikoPlayer; use Filament\Notifications\Notification; use Illuminate\Support\Carbon; @@ -43,6 +44,9 @@ class StatistikoImporter case 'events_player': break; } + + StatistikoImport::where('id', $record->id)->update(['has_run' => 1]); + self::endBenchmark($table); }