You are here

function pay_update_6003 in Pay 7

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

Add an "embeddable" column to the pay_form table.

File

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

Code

function pay_update_6003() {
  $spec = array(
    'type' => 'int',
    'size' => 'tiny',
    'default' => 0,
  );
  db_add_field('pay_form', 'embeddable', $spec);
  return t('Add an "embeddable" column to the pay_form table.');
}