You are here

function hosting_web_server_update_2 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 web_server/hosting_web_server.install \hosting_web_server_update_2()
  2. 7.3 web_server/hosting_web_server.install \hosting_web_server_update_2()

File

web_server/hosting_web_server.install, line 12

Code

function hosting_web_server_update_2() {
  $ret = array();
  $ret[] = update_sql("ALTER TABLE {hosting_web_server} ADD COLUMN ports longtext NOT NULL default ''");
  db_query("UPDATE {hosting_web_server} SET ports = '80'");
  return $ret;
}