Skip to content

Commit

Permalink
Add Support for Table Prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pykettk authored Oct 3, 2023
1 parent ddb6325 commit c21cd6f
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 c21cd6f

Please sign in to comment.