You are here

function key_update_7102 in Key 7

Add an index to the "type" db field.

File

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

Code

function key_update_7102() {
  if (!db_index_exists('key_config', 'type')) {
    db_add_index('key_config', 'type', array(
      'type',
    ));
  }
}