Skip to content

Commit 02ffd02

Browse files
author
Viktor Kopin
committed
MC-39700: Add index for Magento Bulk operations
1 parent eaa1cdc commit 02ffd02

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
<index referenceId="MAGENTO_BULK_USER_ID_ADMIN_USER_USER_ID" indexType="btree">
3131
<column name="user_id"/>
3232
</index>
33+
<index referenceId="MAGENTO_BULK_START_TIME" indexType="btree">
34+
<column name="start_time"/>
35+
</index>
3336
</table>
3437
<table name="magento_operation" resource="default" engine="innodb" comment="Operation entity">
3538
<column xsi:type="int" name="id" padding="10" unsigned="true" nullable="false" identity="true"

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
},
1212
"index": {
1313
"MAGENTO_BULK_USER_ID_ADMIN_USER_USER_ID": true,
14-
"MAGENTO_BULK_USER_ID": true
14+
"MAGENTO_BULK_USER_ID": true,
15+
"MAGENTO_BULK_START_TIME": true
1516
},
1617
"constraint": {
1718
"PRIMARY": true,

0 commit comments

Comments
 (0)