function block_revisions_schema_alter in Block Revisions 6
Same name and namespace in other branches
- 7 block_revisions.install \block_revisions_schema_alter()
Implementation of hook_schema_alter().
Alters the schema for the {boxes} table, adding two extra columns.
File
- ./
block_revisions.install, line 81 - Installation routines for the Block Revisions module.
Code
function block_revisions_schema_alter(&$schema) {
$schema['boxes']['fields']['uid'] = array(
'description' => 'The {users}.uid of the user that created or updated this block.',
'type' => 'int',
'not null' => FALSE,
);
$schema['boxes']['fields']['timestamp'] = array(
'description' => 'A Unix timestamp indicating when this block was last updated.',
'type' => 'int',
'not null' => FALSE,
);
}