Skip to content

Commit 9ff5ba8

Browse files
author
Stanislav Idolov
authored
ENGCOM-1519: [Forwardport] Changed the length of the remote_ip field to store ipv6 addresses #15142
2 parents 62a35dd + d2af59f commit 9ff5ba8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
identity="false" default="1" comment="Customer Note Notify"/>
6262
<column xsi:type="smallint" name="customer_is_guest" padding="5" unsigned="true" nullable="true"
6363
identity="false" default="0" comment="Customer Is Guest"/>
64-
<column xsi:type="varchar" name="remote_ip" nullable="true" length="32" comment="Remote Ip"/>
64+
<column xsi:type="varchar" name="remote_ip" nullable="true" length="45" comment="Remote Ip"/>
6565
<column xsi:type="varchar" name="applied_rule_ids" nullable="true" length="255" comment="Applied Rule Ids"/>
6666
<column xsi:type="varchar" name="reserved_order_id" nullable="true" length="64" comment="Reserved Order Id"/>
6767
<column xsi:type="varchar" name="password_hash" nullable="true" length="255" comment="Password Hash"/>

app/code/Magento/Sales/etc/db_schema.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
<column xsi:type="varchar" name="relation_parent_id" nullable="true" length="32" comment="Relation Parent Id"/>
217217
<column xsi:type="varchar" name="relation_parent_real_id" nullable="true" length="32"
218218
comment="Relation Parent Real Id"/>
219-
<column xsi:type="varchar" name="remote_ip" nullable="true" length="32" comment="Remote Ip"/>
219+
<column xsi:type="varchar" name="remote_ip" nullable="true" length="45" comment="Remote Ip"/>
220220
<column xsi:type="varchar" name="shipping_method" nullable="true" length="120"/>
221221
<column xsi:type="varchar" name="store_currency_code" nullable="true" length="3" comment="Store Currency Code"/>
222222
<column xsi:type="varchar" name="store_name" nullable="true" length="32" comment="Store Name"/>

0 commit comments

Comments
 (0)