function sbp_paths_update_6001 in Search by Page 6
Same name and namespace in other branches
- 7 sbp_paths.install \sbp_paths_update_6001()
Removes uname field, adds role field.
File
- ./
sbp_paths.install, line 119 - Install hooks for sbp_paths module
Code
function sbp_paths_update_6001() {
$ret = array();
db_drop_field($ret, 'sbpp_path', 'uname');
db_add_field($ret, 'sbpp_path', 'role', array(
'description' => t('Role ID used to index this path'),
'type' => 'int',
'size' => 'big',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => DRUPAL_ANONYMOUS_RID,
));
return $ret;
}