startSetup(); $attributeId = $installer->getAttributeId('customer', 'email'); $installer->run(" DELETE FROM {$this->getTable('customer_entity_varchar')} WHERE attribute_id={$attributeId}; "); $installer->endSetup();