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) {
|
||||
$dba->insert($tableName, $row);
|
||||
$dba->insert($tableName, $row, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user