You are here

function wsclient_update_7100 in Web service client 7

Add in the exportable entity db columns as required by the entity API.

File

./wsclient.install, line 115
Web service client - installation file.

Code

function wsclient_update_7100() {
  db_add_field('wsclient_service', 'status', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => ENTITY_CUSTOM,
    'size' => 'tiny',
    'description' => 'The exportable status of the entity.',
  ));
  db_add_field('wsclient_service', 'module', array(
    'description' => 'The name of the providing module if the entity has been defined in code.',
    'type' => 'varchar',
    'length' => 255,
    'not null' => FALSE,
  ));
}