You are here

function key_update_7103 in Key 7

Add an index to the "type" db field.

File

./key.install, line 157
Install, update and uninstall functions for the Key module.

Code

function key_update_7103() {
  if (!db_index_exists('key_config', 'storage_method')) {
    db_add_index('key_config', 'storage_method', array(
      'storage_method',
    ));
  }
}