Skip to content

Commit 857b69e

Browse files
author
nsyvokonenko
committed
MAGETWO-37613: Design new indexes under customer entity table
1 parent a6ca865 commit 857b69e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/code/Magento/Customer/Setup/InstallSchema.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,12 @@ public function install(SchemaSetupInterface $setup, ModuleContextInterface $con
206206
)->addIndex(
207207
$installer->getIdxName('customer_entity', ['website_id']),
208208
['website_id']
209+
)->addIndex(
210+
$installer->getIdxName('customer_entity', ['firstname']),
211+
['firstname']
212+
)->addIndex(
213+
$installer->getIdxName('customer_entity', ['lastname']),
214+
['lastname']
209215
)->addForeignKey(
210216
$installer->getFkName('customer_entity', 'store_id', 'store', 'store_id'),
211217
'store_id',

0 commit comments

Comments
 (0)