?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/schtroumpf.fr/modules/an_trust_badges/upgrade/



?? Go up: /home/webdevt/www/schtroumpf.fr/modules/an_trust_badges

?? Viewing: Upgrade-1.0.1.php

<?php
/**
 * 2022 Anvanto
 *
 * NOTICE OF LICENSE
 *
 * This file is not open source! Each license that you purchased is only available for 1 wesite only.
 * If you want to use this file on more websites (or projects), you need to purchase additional licenses. 
 * You are not allowed to redistribute, resell, lease, license, sub-license or offer our resources to any third party.
 *
 *  @author Anvanto <anvantoco@gmail.com>
 *  @copyright  2022 Anvanto
 *  @license    Valid for 1 website (or project) for each purchase of license
 *  International Registered Trademark & Property of Anvanto
 */

if (!defined('_PS_VERSION_')) {
    exit;
}
function upgrade_module_1_0_1($object)
{
    $sql[] = 'CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'an_trust_badges_icons_shop` (
        `icon_id` int(10) unsigned NOT NULL,
        `id_shop` int(10) unsigned NOT NULL,
        PRIMARY KEY (`icon_id`, `id_shop`)
    ) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=utf8;';

    Db::getInstance()->Execute($sql);

    return true;
}


??

??