function system_post_update_remove_key_value_expire_all_index in Drupal 9
Drop the 'all' index on the 'key_value_expire' table.
File
- core/
modules/ system/ system.post_update.php, line 186 - Post update functions for System.
Code
function system_post_update_remove_key_value_expire_all_index() {
$schema = \Drupal::database()
->schema();
if ($schema
->tableExists('key_value_expire')) {
$schema
->dropIndex('key_value_expire', 'all');
}
}