You are here

function hosting_site_update_6001 in Hosting 7.4

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

Implements hook_update_N().

Add ssl field to hosting_site table.

File

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

Code

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