remove days and add tasks
This commit is contained in:
1 parent
be2a16a812
commit
23a367c493
31 files changed
+237
-464
No files matched your search
@@ -7,10 +7,6 @@ use App\Console\Commands\Grapper\Sofascore\EventsDatabase;
|
||||
use App\Console\Commands\Grapper\Sofascore\Special;
|
||||
use App\Console\Commands\Grapper\Sofascore\Tournament;
|
||||
use App\Console\Commands\Nuh;
|
||||
use App\Models\SofaScoreCategorie;
|
||||
use App\Models\SofaScoreDay;
|
||||
use App\Models\SofaScoreDayTournament;
|
||||
use App\Models\SofaScoreTournament;
|
||||
use App\Utilities\Notice;
|
||||
use DateTime;
|
||||
use Illuminate\Support\Carbon;
|
||||
@@ -29,14 +25,6 @@ class Sofascore
|
||||
{
|
||||
$debug = Nuh::$options['d'] ?? 0;
|
||||
|
||||
if (Nuh::$options['truncate']) {
|
||||
SofaScoreDayTournament::truncate();
|
||||
SofaScoreTournament::truncate();
|
||||
SofaScoreDay::truncate();
|
||||
SofaScoreCategorie::truncate();
|
||||
Notice::note('Table SofaScoreDay, SofaScoreDayTournament, SofaScoreTournament, SofaScoreCategorie truncated!', 'b', 1);
|
||||
}
|
||||
|
||||
if (Nuh::$options['t']) {
|
||||
self::$_days[] = Carbon::now()->format('Y-m-d');
|
||||
} elseif (Nuh::$options['day']) {
|
||||
|
||||
Reference in new issue
Block a user