You are here

function hosting_alias_update_6203 in Hosting 7.4

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

Alter the redirection field to a varchar

File

alias/hosting_alias.install, line 75
Define database schema and update function for the site aliases module.

Code

function hosting_alias_update_6203() {
  $ret = array();
  $spec = array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
  );
  db_change_field($ret, 'hosting_site_alias', 'redirection', 'redirection', $spec);
  return $ret;
}