update massive 4 e 5

main
Johnathan Douglas 2023-07-10 10:03:08 -03:00
parent 89d7449221
commit db3b239333
4 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@ namespace App\Database;
use Illuminate\Database\DatabaseManager; use Illuminate\Database\DatabaseManager;
use Illuminate\Database\Query\Expression; use Illuminate\Database\Query\Expression;
class UpdateMassive class UpdateMassive4
{ {
/** /**

View File

@ -4,7 +4,7 @@ namespace App\Database;
use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\DB;
class UpdateMassive2 class UpdateMassive5
{ {
/** /**

View File

@ -2,7 +2,7 @@
namespace App\Tasks; namespace App\Tasks;
use App\Database\UpdateMassive; use App\Database\UpdateMassive4;
use App\Models\Transaction; use App\Models\Transaction;
use Carbon\Carbon; use Carbon\Carbon;
use Ramsey\Collection\Collection; use Ramsey\Collection\Collection;
@ -35,7 +35,7 @@ class UpdateMassive4Task
]; ];
} }
$updateMassive = new UpdateMassive(); $updateMassive = new UpdateMassive4();
$updateMassive->apply('transactions', 'id', $config); $updateMassive->apply('transactions', 'id', $config);
}); });
} }

View File

@ -2,7 +2,7 @@
namespace App\Tasks; namespace App\Tasks;
use App\Database\UpdateMassive2; use App\Database\UpdateMassive5;
use App\Models\Transaction; use App\Models\Transaction;
use Carbon\Carbon; use Carbon\Carbon;
use Illuminate\Support\Collection; use Illuminate\Support\Collection;
@ -34,7 +34,7 @@ class UpdateMassive5Task
]; ];
} }
$updateMassive2 = new UpdateMassive2(); $updateMassive2 = new UpdateMassive5();
$updateMassive2->apply('transactions', 'id', $config); $updateMassive2->apply('transactions', 'id', $config);
}); });
} }