-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: save several days in the Exception schedule (#59)
* fix: save several days in the Exception schedule
- Loading branch information
1 parent
cb6a8bf
commit 5bdae81
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
|
||
use Gett\MyparcelBE\Constant; | ||
use Gett\MyparcelBE\Database\Table; | ||
|
||
/** | ||
* @throws \PrestaShopDatabaseException | ||
*/ | ||
function upgrade_module_1_4_0(MyParcelBE $module): bool | ||
{ | ||
$carrierConfigurationTable = Table::withPrefix(Table::TABLE_CARRIER_CONFIGURATION); | ||
|
||
$query = <<<SQL | ||
ALTER TABLE $carrierConfigurationTable MODIFY value TEXT; | ||
SQL; | ||
|
||
Db::getInstance()->execute($query); | ||
|
||
return true; | ||
} |