You are here

function hosting_site_update_7300 in Hosting 7.4

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

Allow NULLs in 'db_name' column in 'hosting_site' table.

File

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

Code

function hosting_site_update_7300() {
  db_change_field('hosting_site', 'db_name', 'db_name', array(
    'type' => 'varchar',
    'length' => 64,
    'not null' => FALSE,
    'default' => '',
  ));
}