You are here

function hosting_site_update_6202 in Hosting 7.4

Same name and namespace in other branches
  1. 6.2 site/hosting_site.install \hosting_site_update_6202()
  2. 7.3 site/hosting_site.install \hosting_site_update_6202()

Add 'db_name' column to 'hosting_site' table.

File

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

Code

function hosting_site_update_6202() {
  $ret = array();
  db_add_field($ret, 'hosting_site', 'db_name', array(
    'type' => 'varchar',
    'length' => 64,
    'not null' => TRUE,
    'default' => '',
  ));
  return $ret;
}