Skip to content

Commit d74b4d8

Browse files
Alex AkimovSergey Nosov
authored andcommitted
MAGETWO-45902: Long Street Addresses are Truncated after Checkout
1 parent b30449a commit d74b4d8

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

app/code/Magento/Quote/Setup/UpgradeSchema.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ public function upgrade(SchemaSetupInterface $setup, ModuleContextInterface $con
2929
);
3030
}
3131

32+
if (version_compare($context->getVersion(), '2.0.2', '<')) {
33+
$setup->getConnection()->changeColumn(
34+
$setup->getTable('quote_address'),
35+
'street',
36+
'street',
37+
[
38+
'type' => \Magento\Framework\DB\Ddl\Table::TYPE_TEXT,
39+
'length' => 255,
40+
'comment' => 'Street'
41+
]
42+
);
43+
}
44+
3245
$setup->endSetup();
3346
}
3447
}

app/code/Magento/Quote/etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
*/
77
-->
88
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
9-
<module name="Magento_Quote" setup_version="2.0.1">
9+
<module name="Magento_Quote" setup_version="2.0.2">
1010
</module>
1111
</config>

0 commit comments

Comments
 (0)