startSetup(); $installer->getConnection()->dropKey($installer->getTable('customer_address_entity_text'), 'IDX_VALUE'); $installer->getConnection()->dropKey($installer->getTable('customer_entity_text'), 'IDX_VALUE'); $installer->endSetup();