You are here

function redirect_update_7104 in Redirect 7.2

Same name and namespace in other branches
  1. 7 redirect.install \redirect_update_7104()

Add an index on the redirect column in the redirect table.

File

./redirect.install, line 474
Install, update and uninstall functions for the redirect module.

Code

function redirect_update_7104() {
  if (!db_index_exists('redirect', 'redirect')) {
    db_add_index('redirect', 'redirect', array(
      'redirect',
    ));
  }
}