You are here

function fieldgroup_update_6003 in Content Construction Kit (CCK) 6.2

Same name and namespace in other branches
  1. 6.3 modules/fieldgroup/fieldgroup.install \fieldgroup_update_6003()

Remove tinyint (127) limitation on group weights.

File

modules/fieldgroup/fieldgroup.install, line 246
Implementation of hook_install().

Code

function fieldgroup_update_6003() {
  if ($abort = content_check_update('fieldgroup')) {
    return $abort;
  }
  $ret = array();
  db_change_field($ret, 'content_group', 'weight', 'weight', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}