You are here

function mobile_tools_update_7303 in Mobile Tools 7.3

Implements hook_update_N().

Adds field to store http headers for each device group

File

./mobile_tools.install, line 222
Instalation of the mobile_tools module

Code

function mobile_tools_update_7303(&$sandbox) {
  $field = array(
    'type' => 'blob',
    'description' => 'HTTP Headers to include in the device group',
    'serialize' => TRUE,
  );
  db_add_field('mobile_tools_device_group', 'httpheaders', $field);
}