You are here

function hosting_platform_update_6205 in Hosting 6.2

Same name and namespace in other branches
  1. 7.4 platform/hosting_platform.install \hosting_platform_update_6205()
  2. 7.3 platform/hosting_platform.install \hosting_platform_update_6205()

Add the 'make_working_copy' column.

File

platform/hosting_platform.install, line 149
Install, update and uninstall for the Platforms module.

Code

function hosting_platform_update_6205() {
  $ret = array();
  $spec = array(
    'make_working_copy' => array(
      'type' => 'int',
      'unsigned' => TRUE,
      'not null' => TRUE,
      'default' => 0,
    ),
  );
  foreach ($spec as $field => $field_spec) {
    db_add_field($ret, 'hosting_platform', $field, $field_spec);
  }
  return $ret;
}