function profile2_regpath_update_7110 in Profile2 Registration Path 7
Same name and namespace in other branches
- 7.2 profile2_regpath.install \profile2_regpath_update_7110()
Implements hook_update_n().
File
- ./
profile2_regpath.install, line 113 - Install file for the profile2_regpath module.
Code
function profile2_regpath_update_7110() {
// Add weight column.
$weight_specs = array(
'description' => 'Weight of profile type',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
);
db_add_field('profile2_regpath', 'weight', $weight_specs);
}