After updating to version 1.1.3, running bin/magento setup:upgrade fails because the table "customer_entity_varchar" does not exist when Magento is set up to use prefixed tables.
It is caused by the following function (Setup/Patch/Data/ClearCustomerCurrencyValues.php#25):
public function apply()
{
$attribute = $this->attributeRepository->get(Customer::ENTITY, 'bc_customer_currency');
$this->resourceConnection->getConnection()
->delete(
'customer_entity_varchar',
['attribute_id = ?' => $attribute->getAttributeId()]
);
}
which isn't using the \Magento\Framework\App\ResourceConnection::getTableName() function to get the prefixed table name
After updating to version 1.1.3, running
bin/magento setup:upgrade
fails because the table "customer_entity_varchar
" does not exist when Magento is set up to use prefixed tables.It is caused by the following function (
Setup/Patch/Data/ClearCustomerCurrencyValues.php#25
):which isn't using the
\Magento\Framework\App\ResourceConnection::getTableName()
function to get the prefixed table nameFixed by changing the function to the following: