function draggableviews_update_7204 in DraggableViews 7.2
Add indexes to the draggableviews_structure table.
File
- ./
draggableviews.install, line 281 - Draggableviews defines a new database schema for saving the order.
Code
function draggableviews_update_7204() {
if (!db_index_exists('draggableviews_structure', 'entity_id')) {
db_add_index('draggableviews_structure', 'entity_id', array(
'entity_id',
));
}
}