You are here

function comment_upload_update_4 in Comment Upload 5

File

./comment_upload.install, line 102

Code

function comment_upload_update_4() {
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {comment_upload_files} ADD INDEX cid_fid (cid, fid)");
      break;
  }
  return $ret;
}