Skip to content

Commit 8fd5ac0

Browse files
Try to fix with Laravel 12 compatibility
1 parent 4758cf8 commit 8fd5ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/Migrate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ protected function migrateTable(string $table, string $column): void
139139
->chunk(1000, function (Collection $items) use ($table) {
140140
$items = Arr::resolve($items);
141141

142-
$this->builder($this->target(), $table)->insert($items);
142+
$this->builder($this->target(), $table)->insertOrIgnore($items);
143143
});
144144

145145
$this->migrated[] = $table;

0 commit comments

Comments
 (0)