Current File : /var/www/prestashop/modules/ps_eventbus/upgrade/Upgrade-3.0.13.php
<?php

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;
}