You are here

function tmgmt_update_7014 in Translation Management Tool 7

Add amount and currency fields for {tmgmt_remote} table.

File

./tmgmt.install, line 863
Installation hooks for the Translation Management module.

Code

function tmgmt_update_7014() {
  db_add_field('tmgmt_remote', 'amount', array(
    'type' => 'int',
    'not null' => TRUE,
    'default' => 0,
    'description' => 'Amount charged for the remote translation job.',
  ));
  db_add_field('tmgmt_remote', 'currency', array(
    'type' => 'char',
    'length' => 3,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Amount charged currency.',
  ));
}