function role_export_schema_alter in Role Export 7
Same name and namespace in other branches
- 6 role_export.install \role_export_schema_alter()
Implements hook_schema_alter().
File
- ./
role_export.install, line 11 - Install, Uninstall, Schema and Update functions for role_export
Code
function role_export_schema_alter(&$schema) {
// Add machine_name field to the 'role' table.
$schema['role']['fields']['machine_name'] = array(
'description' => 'The machine name assigned by the user during creation of the role.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
);
}