Skip to content

Commit a83cf62

Browse files
authored
Adjust column length (#4226)
1 parent 4ddd7fb commit a83cf62

File tree

2 files changed

+38
-1
lines changed

2 files changed

+38
-1
lines changed

app/code/core/Mage/Widget/etc/config.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<config>
1818
<modules>
1919
<Mage_Widget>
20-
<version>1.6.0.0</version>
20+
<version>1.6.0.1</version>
2121
</Mage_Widget>
2222
</modules>
2323
<global>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?php
2+
/**
3+
* OpenMage
4+
*
5+
* This source file is subject to the Open Software License (OSL 3.0)
6+
* that is bundled with this package in the file LICENSE.txt.
7+
* It is also available at https://opensource.org/license/osl-3-0-php
8+
*
9+
* @category Mage
10+
* @package Mage_Widget
11+
* @copyright Copyright (c) 2024 The OpenMage Contributors (https://www.openmage.org)
12+
* @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
13+
*/
14+
15+
/** @var Mage_Core_Model_Resource_Setup $installer */
16+
$installer = $this;
17+
$installer->startSetup();
18+
19+
$installer->getConnection()->changeColumn(
20+
$installer->getTable('widget/widget_instance_page'),
21+
'page_group',
22+
'page_group',
23+
[
24+
'type' => Varien_Db_Ddl_Table::TYPE_TEXT,
25+
'length' => 255
26+
]
27+
);
28+
29+
$installer->getConnection()->changeColumn(
30+
$installer->getTable('widget/widget_instance_page'),
31+
'page_for',
32+
'page_for',
33+
[
34+
'type' => Varien_Db_Ddl_Table::TYPE_TEXT,
35+
'length' => 255
36+
]
37+
);

0 commit comments

Comments
 (0)