Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-helldar committed Dec 15, 2023
1 parent 7ba786e commit 7759ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Migrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected function migrateTable(string $table): void
{
Log::info('Transferring data from: ' . $table);

$this->builder($this->source(), $table)->chunkById(1000, function (Collection $items) use ($table) {
$this->builder($this->source(), $table)->chunk(1000, function (Collection $items) use ($table) {
$this->builder($this->target(), $table)->insert(
Arr::resolve($items)
);
Expand Down

0 comments on commit 7759ac3

Please sign in to comment.