Fixes a fatal error during setup upgrade step, for stores using prefix database tables.
[staging] Unable to apply data patch Amazon\Pay\Setup\Patch\Data\PerformKeyUpgrade for module Amazon_Pay. Original exception message: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'client_mage_prod.core_config_data' doesn't exist, query was: SELECT `core_config_data`.`scope_id`, `core_config_data`.`scope`, `core_config_data`.`value` FROM `core_config_data` WHERE (path = 'payment/amazon_payment/access_key') ORDER BY `scope_id` ASC
[staging] error in magento2.php on line 295:
[staging] exit code 1 (General error)
done magento:upgrade:db 29s 566ms
ERROR: Task magento:upgrade:db failed!
Fixes a fatal error during setup upgrade step, for stores using prefix database tables.