diff --git a/src/Ddeboer/DataImport/Writer/DoctrineWriter.php b/src/Ddeboer/DataImport/Writer/DoctrineWriter.php index c9e0b516..2ce59213 100644 --- a/src/Ddeboer/DataImport/Writer/DoctrineWriter.php +++ b/src/Ddeboer/DataImport/Writer/DoctrineWriter.php @@ -278,7 +278,7 @@ protected function truncateTable() { $tableName = $this->entityMetadata->table['name']; $connection = $this->entityManager->getConnection(); - $query = $connection->getDatabasePlatform()->getTruncateTableSQL($tableName); + $query = $connection->getDatabasePlatform()->getTruncateTableSQL($tableName, true); $connection->executeQuery($query); }