You are here

function user_badges_update_6104 in User Badges 7.2

Same name and namespace in other branches
  1. 6.2 user_badges.install \user_badges_update_6104()
  2. 6 user_badges.install \user_badges_update_6104()
  3. 7 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 251
@brief User Badges install file

Code

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