function user_badges_update_6103 in User Badges 7
Same name and namespace in other branches
- 6.2 user_badges.install \user_badges_update_6103()
- 6 user_badges.install \user_badges_update_6103()
- 7.2 user_badges.install \user_badges_update_6103()
- 7.3 user_badges.install \user_badges_update_6103()
@todo Please document this function.
See also
File
- ./
user_badges.install, line 240 - @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',
));
}