function hosting_package_update_1 in Hosting 7.4
Same name and namespace in other branches
- 5 package/hosting_package.install \hosting_package_update_1()
- 6.2 package/hosting_package.install \hosting_package_update_1()
- 7.3 package/hosting_package.install \hosting_package_update_1()
Implements hook_update_N().
Add package description to hosting_package table
File
- package/
hosting_package.install, line 131 - Define database schema and update functions for the package management module.
Code
function hosting_package_update_1() {
$ret = array();
$ret[] = update_sql("ALTER TABLE {hosting_package} ADD COLUMN description longtext NOT NULL default ''");
return $ret;
}