You are here

function content_update_6003 in Content Construction Kit (CCK) 6

Same name and namespace in other branches
  1. 6.3 content.install \content_update_6003()
  2. 6.2 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 testers...

File

./content.install, line 292

Code

function content_update_6003() {
  $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,
    ));
  }
  return $ret;
}