function advancedqueue_update_8102 in Advanced Queue 8
Add an index to the expires column.
File
- ./
advancedqueue.install, line 104 - Contains install and update functions for Advanced queue.
Code
function advancedqueue_update_8102() {
$spec = advancedqueue_schema();
$schema = Database::getConnection()
->schema();
$schema
->addIndex('advancedqueue', 'queue_expires', [
'expires',
], $spec['advancedqueue']);
}