You are here

function linkchecker_update_5205 in Link checker 5.2

Remove wrong auto_increment from linkchecker_links.lid.

File

./linkchecker.install, line 372
Installation file for Link Checker module.

Code

function linkchecker_update_5205() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      $ret[] = update_sql("ALTER TABLE {linkchecker_links} MODIFY COLUMN `lid` INTEGER UNSIGNED NOT NULL");
      break;
  }
  return $ret;
}