You are here

function hosting_package_update_2 in Hosting 7.4

Same name and namespace in other branches
  1. 5 package/hosting_package.install \hosting_package_update_2()
  2. 6.2 package/hosting_package.install \hosting_package_update_2()
  3. 7.3 package/hosting_package.install \hosting_package_update_2()

Implements hook_update_N().

Add localization support for installed sites

File

package/hosting_package.install, line 142
Define database schema and update functions for the package management module.

Code

function hosting_package_update_2() {
  $ret = array();
  $ret[] = update_sql("CREATE TABLE {hosting_package_languages} (\n    vid int NOT NULL,\n    nid int(10) UNSIGNED NOT NULL,\n    language VARCHAR(12) NOT NULL DEFAULT ''\n  )  /*!40100 DEFAULT CHARACTER SET UTF8 */");
  return $ret;
}