Skip to content

Commit

Permalink
Merge pull request #141 from pykettk/patch-1
Browse files Browse the repository at this point in the history
Add Support for Table Prefixes
  • Loading branch information
sprankhub authored Oct 3, 2023
2 parents ddb6325 + c21cd6f commit 1e52e46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ResourceModel/ImportData.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ protected function _construct()
{
if ($this->scopeConfig->isSetFlag('fastsimpleimport/database/import_temp_table')) {
$this->getConnection()->createTemporaryTableLike(
'importexport_importdata_tmp',
'importexport_importdata',
$this->_resources->getTableName('importexport_importdata_tmp'),
$this->_resources->getTableName('importexport_importdata'),
true
);
$this->_init('importexport_importdata_tmp', 'id');
$this->_init($this->_resources->getTableName('importexport_importdata_tmp'), 'id');
} else {
parent::_construct();
}
Expand Down

0 comments on commit 1e52e46

Please sign in to comment.