function log_update_7000 in Log entity 7
Add a field to log types that allow their names to be editable by users.
Parameters
array $sandbox: The update sandbox array.
File
- ./
log.install, line 158 - Log install.
Code
function log_update_7000(array &$sandbox) {
$spec = array(
'description' => 'Boolean: log name is user editable.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
);
db_add_field('log_type', 'name_edit', $spec);
}