function commerce_customer_update_7100 in Commerce Core 7
Add an index to the commerce_customer_profile_revision table on profile_id.
File
- modules/
customer/ commerce_customer.install, line 216
Code
function commerce_customer_update_7100() {
if (db_index_exists('commerce_customer_profile_revision', 'profile_id')) {
db_drop_index('commerce_customer_profile_revision', 'profile_id');
}
db_add_index('commerce_customer_profile_revision', 'profile_id', array(
'profile_id',
));
}