Skip to content

Commit

Permalink
ENGCOM-4454: Fix for issue #21477 sets CURRENT_TIMESTAMP on updated_a…
Browse files Browse the repository at this point in the history
…t fields #21486
  • Loading branch information
sivaschenko authored Apr 28, 2019
2 parents d8a3eaa + 89e0bdb commit 45e7e2f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/code/Magento/Integration/etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
comment="Oauth consumer"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Creation Time"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Update Time"/>
<column xsi:type="smallint" name="setup_type" padding="5" unsigned="true" nullable="false" identity="false"
default="0" comment="Integration type - manual or config file"/>
Expand Down
10 changes: 5 additions & 5 deletions app/code/Magento/Quote/etc/db_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
default="0" comment="Quote Id"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Updated At"/>
<column xsi:type="int" name="customer_id" padding="10" unsigned="true" nullable="true" identity="false"
comment="Customer Id"/>
Expand Down Expand Up @@ -220,7 +220,7 @@
default="0" comment="Quote Id"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Updated At"/>
<column xsi:type="int" name="product_id" padding="10" unsigned="true" nullable="true" identity="false"
comment="Product Id"/>
Expand Down Expand Up @@ -324,7 +324,7 @@
default="0" comment="Quote Item Id"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Updated At"/>
<column xsi:type="text" name="applied_rule_ids" nullable="true" comment="Applied Rule Ids"/>
<column xsi:type="text" name="additional_data" nullable="true" comment="Additional Data"/>
Expand Down Expand Up @@ -436,7 +436,7 @@
default="0" comment="Quote Id"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Updated At"/>
<column xsi:type="varchar" name="method" nullable="true" length="255" comment="Method"/>
<column xsi:type="varchar" name="cc_type" nullable="true" length="255" comment="Cc Type"/>
Expand Down Expand Up @@ -472,7 +472,7 @@
default="0" comment="Address Id"/>
<column xsi:type="timestamp" name="created_at" on_update="false" nullable="false" default="CURRENT_TIMESTAMP"
comment="Created At"/>
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="0"
<column xsi:type="timestamp" name="updated_at" on_update="true" nullable="false" default="CURRENT_TIMESTAMP"
comment="Updated At"/>
<column xsi:type="varchar" name="carrier" nullable="true" length="255" comment="Carrier"/>
<column xsi:type="varchar" name="carrier_title" nullable="true" length="255" comment="Carrier Title"/>
Expand Down

0 comments on commit 45e7e2f

Please sign in to comment.