* @copyright 2012-2015 Patryk Marek - PrestaDev.pl * @license License is for use in domain / or one multistore enviroment (do not modify or reuse this code or part of it) if you want any changes please contact with me at info@prestadev.pl * @link http://prestadev.pl * @package PD Google Merchant Center Pro - PrestaShop 1.5.x and 1.6.x Module * @version 2.2.0 * @date 04-03-2016 */ if (!defined('_PS_VERSION_')) { exit; } /** * This function updates your module from previous versions to the version 1.1, * usefull when you modify your database, or register a new hook ... * Don't forget to create one file per version. */ function upgrade_module_2_3_6($module) { /** * Do everything you want right there, * You could add a column in one of your module's tables */ Db::getInstance(_PS_USE_SQL_SLAVE_)->Execute('ALTER TABLE `'._DB_PREFIX_.'pdgooglemerchantcenterpro` ADD `available_for_order` tinyint(1) NOT NULL default 1'); return true; }