You are here

function user_badges_update_6103 in User Badges 7.3

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

@todo Please document this function.

See also

http://drupal.org/node/1354

File

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

Code

function user_badges_update_6103() {

  //Add the new field for the taxonomy support
  db_add_field('user_badges_badges', 'tid', array(
    'type' => 'int',
    'not null' => FALSE,
    'unsigned' => TRUE,
  ));
  db_add_index('user_badges_badges', 'tid_name', array(
    'tid',
    'name',
  ));
}