function advagg_update_7208 in Advanced CSS/JS Aggregation 7.2
Add an index to the filename_hash column in the advagg_aggregates table.
File
- ./
advagg.install, line 549 - Handles Advanced Aggregation installation and upgrade tasks.
Code
function advagg_update_7208(&$sandbox) {
if (!db_index_exists('advagg_aggregates', 'filename_hash')) {
db_add_index('advagg_aggregates', 'filename_hash', array(
'filename_hash',
));
return t('Database index added to the filename_hash column of the advagg_aggregates table.');
}
return t('Nothing needed to be done.');
}