You are here

function pmexpense_update_7101 in Drupal PM (Project Management) 7

Add billable and billed fields to the {pmexpense} table.

File

pmexpense/pmexpense.install, line 212
Installation file for pmexpense module.

Code

function pmexpense_update_7101() {
  $spec = array(
    'type' => 'int',
    'default' => 0,
    'initial' => 0,
  );
  db_add_field('pmexpense', 'billable', $spec);
  db_add_field('pmexpense', 'billed', $spec);
}