You are here

function services_update_6301 in Services 6.3

Update 6301 adds debugging to each endopint to facilitate easier development

File

./services.install, line 309
Install, uninstall and update the Services module.

Code

function services_update_6301() {
  $ret = array();
  db_add_field($ret, 'services_endpoint', 'debug', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
  ));
  db_add_field($ret, 'services_endpoint', 'status', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 1,
  ));
  return $ret;
}