-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
34 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
33 changes: 33 additions & 0 deletions
33
app/code/core/Mage/Widget/sql/widget_setup/mysql4-upgrade-1.6.0.0-1.6.0.1.php
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,33 @@ | ||
<?php | ||
/** | ||
* Maho | ||
* | ||
* @category Mage | ||
* @package Mage_Widget | ||
* @copyright Copyright (c) 2024 The OpenMage Contributors (https://openmage.org) | ||
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) | ||
*/ | ||
|
||
/** @var Mage_Core_Model_Resource_Setup $installer */ | ||
$installer = $this; | ||
$installer->startSetup(); | ||
|
||
$installer->getConnection()->changeColumn( | ||
$installer->getTable('widget/widget_instance_page'), | ||
'page_group', | ||
'page_group', | ||
[ | ||
'type' => Varien_Db_Ddl_Table::TYPE_TEXT, | ||
'length' => 255 | ||
] | ||
); | ||
|
||
$installer->getConnection()->changeColumn( | ||
$installer->getTable('widget/widget_instance_page'), | ||
'page_for', | ||
'page_for', | ||
[ | ||
'type' => Varien_Db_Ddl_Table::TYPE_TEXT, | ||
'length' => 255 | ||
] | ||
); |