You are here

function pay_update_6005 in Pay 7

Same name and namespace in other branches
  1. 6 pay.install \pay_update_6005()

Rename 'activity' to 'action' in pay_activity table.

File

./pay.install, line 397
Pay module allows for accepting payments against a node using pluggable payment backends.

Code

function pay_update_6005() {
  $spec = array(
    'type' => 'varchar',
    'length' => 100,
    'not null' => TRUE,
  );
  db_change_field('pay_activity', 'activity', 'action', $spec);
  return t('Renamed "activity" column to "action" in pay_activity table.');
}