function hosting_site_update_1 in Hosting 5
Same name and namespace in other branches
- 6.2 site/hosting_site.install \hosting_site_update_1()
- 7.4 site/hosting_site.install \hosting_site_update_1()
- 7.3 site/hosting_site.install \hosting_site_update_1()
Add language field to hosting_sites table
File
- site/
hosting_site.install, line 37
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;
}