You are here

function hosting_package_update_8 in Hostmaster (Aegir) 6

File

modules/hosting/package/hosting_package.install, line 262
Install, update and uninstall for the package management module.

Code

function hosting_package_update_8() {
  include_once drupal_get_path('module', 'hosting_package') . '/hosting_package.instance.inc';
  $ret = array();
  db_add_field($ret, 'hosting_package_instance', 'version_code', array(
    'type' => 'int',
    'size' => 'big',
    'not null' => TRUE,
    'default' => 0,
  ));

  // The contents of update 9 was originally inside this function,
  // but due to an error in the regular expression the code needs to be
  // executed again, as such it has been moved.
  return $ret;
}