function rules_update_7215
Add an index for retrieving active config of a certain plugin.
File
-
./
rules.install, line 558
Code
function rules_update_7215() {
if (db_index_exists('rules_config', 'plugin')) {
db_drop_index('rules_config', 'plugin');
}
db_add_index('rules_config', 'plugin', array(
'plugin',
'active',
));
}