first commit
This commit is contained in:
38
modules/pdgooglemerchantcenterpro/upgrade/upgrade-2.2.4.php
Normal file
38
modules/pdgooglemerchantcenterpro/upgrade/upgrade-2.2.4.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/**
|
||||
* 2012-2015 Patryk Marek PrestaDev.pl
|
||||
*
|
||||
* Patryk Marek PrestaDev.pl - PD Google Merchant Center Pro © All rights reserved.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit, modify or copy this file.
|
||||
* If you wish to customize it, contact us at info@prestadev.pl.
|
||||
*
|
||||
* @author Patryk Marek PrestaDev.pl <info@prestadev.pl>
|
||||
* @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.4
|
||||
* @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_2_4($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_.'product_lang` ADD `product_short_desc_google_shopping` TEXT');
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user