function system_post_update_remove_key_value_expire_all_index

Drop the 'all' index on the 'key_value_expire' table.

File

core/modules/system/system.post_update.php, line 188

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');
  }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.