You are here

function headerimage_update_6001 in Header image 6

Change weight field to unsigned int.

File

./headerimage.install, line 85

Code

function headerimage_update_6001() {
  $ret = array();
  db_change_field($ret, 'headerimage', 'weight', 'weight', array(
    'description' => t(''),
    'type' => 'int',
    'size' => 'tiny',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}