You are here

function hosting_site_update_6002 in Hosting 7.4

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

Implements hook_update_N().

Add ssl_redirect field to hosting_site table.

File

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

Code

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