first commit
This commit is contained in:
32
modules/higallery/upgrade/upgrade-1.1.0.php
Normal file
32
modules/higallery/upgrade/upgrade-1.1.0.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
/**
|
||||
* 2012 - 2020 HiPresta
|
||||
*
|
||||
* MODULE Gallery
|
||||
*
|
||||
* @author HiPresta <support@hipresta.com>
|
||||
* @copyright HiPresta 2020
|
||||
* @license Addons PrestaShop license limitation
|
||||
* @link https://hipresta.com
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* Don't use this module on several shops. The license provided by PrestaShop Addons
|
||||
* for all its modules is valid only once for a single shop.
|
||||
*/
|
||||
|
||||
function upgrade_module_1_1_0($module)
|
||||
{
|
||||
Db::getInstance()->execute('
|
||||
CREATE TABLE IF NOT EXISTS `'._DB_PREFIX_.'higallerysocialnetwork` (
|
||||
`id_higallerysocialnetwork` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||
`title` varchar(256) NOT NULL,
|
||||
`active` tinyint(1) unsigned NOT NULL DEFAULT \'1\',
|
||||
`access_token` varchar(256) NOT NULL,
|
||||
`social_network` varchar(256) NOT NULL,
|
||||
PRIMARY KEY (`id_higallerysocialnetwork`)
|
||||
) ENGINE='._MYSQL_ENGINE_.' DEFAULT CHARSET=UTF8;
|
||||
');
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user