Files
drmaterac.pl/modules/paynow/upgrade/upgrade-1.6.3.php
2025-01-06 20:47:25 +01:00

30 lines
628 B
PHP

<?php
/**
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License (MIT)
* that is bundled with this package in the file LICENSE.md.
*
* @author mElements S.A.
* @copyright mElements S.A.
* @license MIT License
*/
if (!defined('_PS_VERSION_')) {
exit;
}
function upgrade_module_1_6_3($module)
{
try {
Db::getInstance()->execute(
"ALTER TABLE `" . _DB_PREFIX_ . "paynow_payments`
ADD `total` DECIMAL(20,6) NOT NULL DEFAULT '0.000000'
AFTER `status`"
);
} catch (PrestaShopDatabaseException $exception) {
}
return true;
}