function hosting_package_update_8 in Hosting 7.4
Same name and namespace in other branches
- 6.2 package/hosting_package.install \hosting_package_update_8()
- 7.3 package/hosting_package.install \hosting_package_update_8()
File
- package/
hosting_package.install, line 282 - Define database schema and update functions 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;
}