You are here

function flag_update_6210 in Flag 6.2

Add an index to help with view's flag_handler_relationship when not required.

File

./flag.install, line 687
Flag module install/schema/update hooks.

Code

function flag_update_6210() {
  $ret = array();
  db_add_index($ret, 'flag_content', 'content_id_fid', array(
    'content_id',
    'fid',
  ));
  return $ret;
}