function linkchecker_update_5201 in Link checker 5.2
Install linkchecker_comments table.
File
- ./
linkchecker.install, line 282 - Installation file for Link Checker module.
Code
function linkchecker_update_5201() {
$ret = array();
// Create new tables.
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("CREATE TABLE {linkchecker_comments} (\n cid INT NOT NULL,\n lid INT NOT NULL,\n PRIMARY KEY (cid ,lid)\n ) /*!40100 DEFAULT CHARACTER SET utf8 */;");
break;
}
return $ret;
}