Skip to content

Commit d3115b8

Browse files
ENGCOM-9077: Add missing index on "cms_block" table. #32973
2 parents 8dfadfa + 4116133 commit d3115b8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
<constraint xsi:type="primary" referenceId="PRIMARY">
2323
<column name="block_id"/>
2424
</constraint>
25+
<index referenceId="CMS_BLOCK_IDENTIFIER" indexType="btree">
26+
<column name="identifier"/>
27+
</index>
2528
<index referenceId="CMS_BLOCK_TITLE_IDENTIFIER_CONTENT" indexType="fulltext">
2629
<column name="title"/>
2730
<column name="identifier"/>

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"is_active": true
1111
},
1212
"index": {
13-
"CMS_BLOCK_TITLE_IDENTIFIER_CONTENT": true
13+
"CMS_BLOCK_TITLE_IDENTIFIER_CONTENT": true,
14+
"CMS_BLOCK_IDENTIFIER": true
1415
},
1516
"constraint": {
1617
"PRIMARY": true

0 commit comments

Comments
 (0)