Skip to content

Commit 45e7e2f

Browse files
authored
ENGCOM-4454: Fix for issue #21477 sets CURRENT_TIMESTAMP on updated_at fields #21486
2 parents d8a3eaa + 89e0bdb commit 45e7e2f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
comment="Oauth consumer"/>
108108
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
109109
comment="Creation Time"/>
110-
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
110+
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
111111
comment="Update Time"/>
112112
<column xsi:type="smallint" name="setup_type" padding="5" unsigned="true" nullable="false" identity="false"
113113
default="0" comment="Integration type - manual or config file"/>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
default="0" comment="Quote Id"/>
109109
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
110110
comment="Created At"/>
111-
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
111+
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
112112
comment="Updated At"/>
113113
<column xsi:type="int" name="customer_id" padding="10" unsigned="true" nullable="true" identity="false"
114114
comment="Customer Id"/>
@@ -220,7 +220,7 @@
220220
default="0" comment="Quote Id"/>
221221
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
222222
comment="Created At"/>
223-
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
223+
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
224224
comment="Updated At"/>
225225
<column xsi:type="int" name="product_id" padding="10" unsigned="true" nullable="true" identity="false"
226226
comment="Product Id"/>
@@ -324,7 +324,7 @@
324324
default="0" comment="Quote Item Id"/>
325325
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
326326
comment="Created At"/>
327-
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
327+
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
328328
comment="Updated At"/>
329329
<column xsi:type="text" name="applied_rule_ids" nullable="true" comment="Applied Rule Ids"/>
330330
<column xsi:type="text" name="additional_data" nullable="true" comment="Additional Data"/>
@@ -436,7 +436,7 @@
436436
default="0" comment="Quote Id"/>
437437
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
438438
comment="Created At"/>
439-
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
439+
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
440440
comment="Updated At"/>
441441
<column xsi:type="varchar" name="method" nullable="true" length="255" comment="Method"/>
442442
<column xsi:type="varchar" name="cc_type" nullable="true" length="255" comment="Cc Type"/>
@@ -472,7 +472,7 @@
472472
default="0" comment="Address Id"/>
473473
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
474474
comment="Created At"/>
475-
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
475+
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
476476
comment="Updated At"/>
477477
<column xsi:type="varchar" name="carrier" nullable="true" length="255" comment="Carrier"/>
478478
<column xsi:type="varchar" name="carrier_title" nullable="true" length="255" comment="Carrier Title"/>

0 commit comments

Comments
 (0)