function hosting_site_update_1 in Hosting 7.4
Same name and namespace in other branches
- 5 site/hosting_site.install \hosting_site_update_1()
- 6.2 site/hosting_site.install \hosting_site_update_1()
- 7.3 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 151 - 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;
}