You are here

function uc_stripe_update_6103 in Ubercart Stripe 6

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

Implements hook_update_N().

Added nid of subscription object.

File

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

Code

function uc_stripe_update_6103() {
  $ret = array();
  db_add_field($ret, 'uc_recurring_stripe', 'nid', array(
    'description' => 'The nid of this subscription product.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ));
  return $ret;
}