* @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) */ if (!defined('_PS_VERSION_')) { exit; } use PrestaShop\Module\PsEventbus\Config\Config; /** * @return bool */ function upgrade_module_3_0_13() { $db = Db::getInstance(); $db->update('eventbus_deleted_objects', ['type' => Config::COLLECTION_CUSTOM_PRODUCT_CARRIERS], '`type` = "custom_product_carrier"'); $db->update('eventbus_deleted_objects', ['type' => Config::COLLECTION_SPECIFIC_PRICES], '`type` = "specific_price"'); $db->update('eventbus_deleted_objects', ['type' => Config::COLLECTION_CARRIERS], '`type` = "carrier"'); return true; }