You are here

function deploy_update_6001 in Deploy - Content Staging 6

Implementation of hook_update().

Add the item grouping field

File

./deploy.install, line 234
Contains install and update functions for Deploy.

Code

function deploy_update_6001() {
  $update = array();
  db_add_field($update, 'deploy_plan_items', 'weight_group', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
  return $update;
}