You are here

function user_badges_update_6104 in User Badges 6

Same name and namespace in other branches
  1. 6.2 user_badges.install \user_badges_update_6104()
  2. 7 user_badges.install \user_badges_update_6104()
  3. 7.2 user_badges.install \user_badges_update_6104()
  4. 7.3 user_badges.install \user_badges_update_6104()

Implements hook_update_N(). Fix error in 6102.

File

./user_badges.install, line 259
@brief User Badges install file

Code

function user_badges_update_6104() {
  $ret = array();
  db_change_field($ret, 'user_badges_badges', 'image', 'image', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
    'default' => '',
  ));
  return $ret;
}