* @copyright 2007-2017 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */ 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_0($module) { Db::getInstance()->Execute('ALTER TABLE `'._DB_PREFIX_.'prelevementsepa` ADD `sepa_type` ENUM("FRST","RCUR") NOT NULL DEFAULT "RCUR" AFTER `bic`;'); return true; }