You are here

function hosting_site_update_6 in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 site/hosting_site.install \hosting_site_update_6()
  2. 7.3 site/hosting_site.install \hosting_site_update_6()

Implements hook_update_N().

Add port field to hosting_site table.

File

site/hosting_site.install, line 243
Define database schema and update functions for the hosting_site module.

Code

function hosting_site_update_6() {
  $ret = array();
  db_add_field($ret, 'hosting_site', 'port', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  return $ret;
}