You are here

function uc_stripe_update_6101 in Ubercart Stripe 6

Same name and namespace in other branches
  1. 7 uc_stripe.install \uc_stripe_update_6101()

Implements hook_update_N().

Added order_id to schema.

File

./uc_stripe.install, line 110
Installation file for the uc_stripe module.

Code

function uc_stripe_update_6101() {
  $ret = array();
  db_add_field($ret, 'uc_recurring_stripe', 'order_id', array(
    'description' => 'The order_id of the purchase.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ));
  return $ret;
}