Skip to content

Commit bdfe463

Browse files
committed
#38315 fixes ( keep prev. index to prevent regression )
1 parent 94def29 commit bdfe463

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<!--
33
/**
4-
* Copyright © Magento, Inc. All rights reserved.
5-
* See COPYING.txt for license details.
4+
* Copyright 2018 Adobe
5+
* All Rights Reserved.
66
*/
77
-->
88
<schema xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
@@ -132,6 +132,9 @@
132132
<column name="attribute_id"/>
133133
<column name="store_id"/>
134134
</constraint>
135+
<index referenceId="CATALOG_PRODUCT_ENTITY_INT_ATTRIBUTE_ID" indexType="btree">
136+
<column name="attribute_id"/>
137+
</index>
135138
<index referenceId="CATALOG_PRODUCT_ENTITY_INT_ATTRIBUTE_ID_ENTITY_ID" indexType="btree">
136139
<column name="attribute_id"/>
137140
<column name="entity_id"/>

app/code/Magento/Catalog/etc/db_schema_whitelist.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
"value": true
6969
},
7070
"index": {
71+
"CATALOG_PRODUCT_ENTITY_INT_ATTRIBUTE_ID": true,
7172
"CATALOG_PRODUCT_ENTITY_INT_ATTRIBUTE_ID_ENTITY_ID": true,
7273
"CATALOG_PRODUCT_ENTITY_INT_STORE_ID": true,
7374
"CATALOG_PRODUCT_ENTITY_INT_ATTRIBUTE_ID_STORE_ID_VALUE": true

0 commit comments

Comments
 (0)