function content_update_6003 in Content Construction Kit (CCK) 6.2
Same name and namespace in other branches
- 6.3 content.install \content_update_6003()
- 6 content.install \content_update_6003()
'db_columns' column 1st got introduced as 'columns', which is forbidden in MySQL 4. This update function will only be useful for early D6 testers...
File
- ./
content.install, line 374
Code
function content_update_6003() {
if ($abort = content_check_update()) {
return $abort;
}
$ret = array();
if (db_column_exists('content_node_field', 'columns')) {
db_change_field($ret, 'content_node_field', 'columns', 'db_columns', array(
'type' => 'text',
'size' => 'medium',
'not null' => TRUE,
));
}
variable_set('content_schema_version', 6003);
return $ret;
}