function hosting_alias_update_2 in Hosting 7.3
Same name and namespace in other branches
- 6.2 alias/hosting_alias.install \hosting_alias_update_2()
- 7.4 alias/hosting_alias.install \hosting_alias_update_2()
Implements hook_update_N().
Add the redirection field.
File
- alias/
hosting_alias.install, line 65 - Define database schema and update function for the site aliases module.
Code
function hosting_alias_update_2() {
$ret = array();
db_add_field($ret, 'hosting_site_alias', 'redirection', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'size' => 'tiny',
));
return $ret;
}