You are here

function user_badges_update_6100 in User Badges 7

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

Add the "href" field.

File

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

Code

function user_badges_update_6100() {
  db_add_field('user_badges_badges', 'href', array(
    'type' => 'varchar',
    'length' => 80,
    'not null' => FALSE,
    'default' => '',
  ));
}