Avoid database error because of duplicated entries
This commit is contained in:
parent
89b47afb09
commit
29f99c134d
|
@ -71,7 +71,7 @@ trait DatabaseTestTrait
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$dba->insert($tableName, $row);
|
$dba->insert($tableName, $row, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue