You are here

function hosting_package_update_1 in Hosting 7.3

Same name and namespace in other branches
  1. 5 package/hosting_package.install \hosting_package_update_1()
  2. 6.2 package/hosting_package.install \hosting_package_update_1()
  3. 7.4 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;
}