Skip to content

Commit e724cd9

Browse files
Update Migrate.php
1 parent b10837e commit e724cd9

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
@@ -137,7 +137,7 @@ protected function migrateTable(string $table, string $column): void
137137
->chunk(1000, function (Collection $items) use ($table) {
138138
$items = Arr::resolve($items);
139139

140-
$this->builder($this->target(), $table)->insert($items);
140+
$this->builder($this->target(), $table)->insertOrIgnore($items);
141141
});
142142

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

0 commit comments

Comments
 (0)