You are here

function hosting_alias_update_2 in Hostmaster (Aegir) 6

Add the redirection field.

File

modules/hosting/alias/hosting_alias.install, line 78
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;
}