You are here

function pay_update_6003 in Pay 6

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

Add an "embeddable" column to the pay_form table.

File

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

Code

function pay_update_6003() {
  $ret = array();
  $spec = array(
    'type' => 'int',
    'size' => 'tiny',
    'default' => 0,
  );
  db_add_field($ret, 'pay_form', 'embeddable', $spec);
  return $ret;
}