You are here

function hosting_alias_update_2 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 alias/hosting_alias.install \hosting_alias_update_2()
  2. 7.3 alias/hosting_alias.install \hosting_alias_update_2()

Add the redirection field.

File

alias/hosting_alias.install, line 77
Install, update and uninstall 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;
}