diff --git a/install-dev/upgrade/php/image_shop1510.php b/install-dev/upgrade/php/image_shop1510.php new file mode 100644 index 000000000..3f0ba3756 --- /dev/null +++ b/install-dev/upgrade/php/image_shop1510.php @@ -0,0 +1,36 @@ + +* @copyright 2007-2012 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + + +function image_shop1510() +{ + include_once(_PS_INSTALL_PATH_.'upgrade/php/generic_add_missing_column.php'); + + $column_to_add = array( + 'cover' => 'TINYINT(1) UNSIGNED NOT NULL AFTER `id_shop`'); + + return generic_add_missing_column('image_shop', $column_to_add); +}