You are here

function hosting_site_update_1 in Hosting 7.3

Same name and namespace in other branches
  1. 5 site/hosting_site.install \hosting_site_update_1()
  2. 6.2 site/hosting_site.install \hosting_site_update_1()
  3. 7.4 site/hosting_site.install \hosting_site_update_1()

Implements hook_update_N().

Add language field to hosting_sites table

File

site/hosting_site.install, line 130
Define database schema and update functions for the hosting_site module.

Code

function hosting_site_update_1() {
  $ret = array();
  $ret[] = update_sql("ALTER TABLE {hosting_site} ADD COLUMN language VARCHAR(10) NOT NULL default 'en'");
  return $ret;
}