function uc_attribute_update_7003 in Ubercart 7.3
Add index to attribute options table.
File
- uc_attribute/
uc_attribute.install, line 499 - Install, update and uninstall functions for the uc_attribute module.
Code
function uc_attribute_update_7003() {
// Indexes may have been added in 6.x-2.x.
if (!db_index_exists('uc_attribute_options', 'aid')) {
db_add_index('uc_attribute_options', 'aid', array(
'aid',
));
}
}