diff --git a/app/code/core/Mage/Widget/etc/config.xml b/app/code/core/Mage/Widget/etc/config.xml index c9d113053..aa56404b1 100644 --- a/app/code/core/Mage/Widget/etc/config.xml +++ b/app/code/core/Mage/Widget/etc/config.xml @@ -13,7 +13,7 @@ - 1.6.0.0 + 1.6.0.1 diff --git a/app/code/core/Mage/Widget/sql/widget_setup/mysql4-upgrade-1.6.0.0-1.6.0.1.php b/app/code/core/Mage/Widget/sql/widget_setup/mysql4-upgrade-1.6.0.0-1.6.0.1.php new file mode 100644 index 000000000..75e44cbfe --- /dev/null +++ b/app/code/core/Mage/Widget/sql/widget_setup/mysql4-upgrade-1.6.0.0-1.6.0.1.php @@ -0,0 +1,33 @@ +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 + ] +);