function redirect_update_1 in Redirect 7.2
Same name and namespace in other branches
- 7 redirect.install \redirect_update_1()
Add the {redirect}.count field.
File
- ./
redirect.install, line 154 - Install, update and uninstall functions for the redirect module.
Code
function redirect_update_1() {
$field = array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
'description' => 'The number of times the redirect has been used.',
);
db_add_field('redirect', 'count', $field);
}