function user_badges_update_6103 in User Badges 6.2
Same name and namespace in other branches
- 6 user_badges.install \user_badges_update_6103()
- 7 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()
File
- ./
user_badges.install, line 244 - @brief User Badges install file
Code
function user_badges_update_6103() {
$ret = array();
//Add the new field for the taxonomy support
db_add_field($ret, 'user_badges_badges', 'tid', array(
'type' => 'int',
'not null' => FALSE,
'unsigned' => TRUE,
));
db_add_index($ret, 'user_badges_badges', 'tid_name', array(
'tid',
'name',
));
return $ret;
}