function linkchecker_update_6206 in Link checker 6.2
Add status column to links table.
File
- ./
linkchecker.install, line 456 - Installation file for Link Checker module.
Code
function linkchecker_update_6206() {
$ret = array();
// Add the column only if not exists. Column may been added in D5 (5207).
if (!db_column_exists('linkchecker_links', 'status')) {
db_add_field($ret, 'linkchecker_links', 'status', array(
'type' => 'int',
'not null' => TRUE,
'default' => 1,
));
}
return $ret;
}