You are here

function hosting_site_update_7302 in Hosting 7.4

Add 'file_public_path', 'file_private_path', 'file_temporary_path' columns to 'hosting_site' table.

File

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

Code

function hosting_site_update_7302() {
  $ret = array();
  db_add_field('hosting_site', 'file_public_path', array(
    'description' => 'The path to the public site files."',
    'type' => 'varchar',
    'length' => 64,
    'not null' => TRUE,
    'default' => '',
  ));
  db_add_field('hosting_site', 'file_private_path', array(
    'description' => 'The path to the private site files."',
    'type' => 'varchar',
    'length' => 64,
    'not null' => TRUE,
    'default' => '',
  ));
  db_add_field('hosting_site', 'file_temporary_path', array(
    'description' => 'The path to the temporary site files."',
    'type' => 'varchar',
    'length' => 64,
    'not null' => TRUE,
    'default' => '',
  ));
  return $ret;
}