You are here

function hosting_site_update_6008 in Hosting 7.4

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

Implements hook_update_N().

Add the cron_key column to the hosting_site table.

File

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

Code

function hosting_site_update_6008() {
  $ret = array();
  db_add_field($ret, 'hosting_site', 'cron_key', array(
    'type' => 'varchar',
    'not null' => TRUE,
    'length' => 80,
    'default' => '',
  ));
  return $ret;
}