* @copyright 2019 idnovate.com * @license See above */ function upgrade_module_2_0_2($module) { Db::getInstance()->execute( "CREATE TABLE IF NOT EXISTS `"._DB_PREFIX_."quantity_discount_rule_condition_country` ( `id_quantity_discount_rule_condition` int(10) unsigned NOT NULL, `id_quantity_discount_rule` int(10) unsigned NOT NULL, `id_country` int(10) unsigned NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8;" ); Db::getInstance()->execute( "CREATE TABLE IF NOT EXISTS `"._DB_PREFIX_."quantity_discount_rule_condition_zone` ( `id_quantity_discount_rule_condition` int(10) unsigned NOT NULL, `id_quantity_discount_rule` int(10) unsigned NOT NULL, `id_zone` int(10) unsigned NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8;" ); return $module; }