function block_revisions_install in Block Revisions 6
Same name and namespace in other branches
- 7 block_revisions.install \block_revisions_install()
Implementation of hook_install().
File
- ./
block_revisions.install, line 97 - Installation routines for the Block Revisions module.
Code
function block_revisions_install() {
$ret = array();
db_add_field($ret, 'boxes', 'uid', array(
'description' => 'The {users}.uid of the user that created or updated this block.',
'type' => 'int',
'not null' => FALSE,
));
db_add_field($ret, 'boxes', 'timestamp', array(
'description' => 'A Unix timestamp indicating when this block was last updated.',
'type' => 'int',
'not null' => FALSE,
));
drupal_install_schema('block_revisions');
}