function og_update_7202 in Organic groups 7.2
Extend the length of permission field in og_role_permission.
File
- ./
og.install, line 1097 - Install, update, and uninstall functions for the Organic groups module.
Code
function og_update_7202() {
$column = array(
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
'description' => 'A single permission granted to the role identified by rid.',
);
db_change_field('og_role_permission', 'permission', 'permission', $column);
return t('Updated column definition for {og_role_permission} table.');
}