You are here

function uc_stripe_update_6102 in Ubercart Stripe 7

Same name and namespace in other branches
  1. 6 uc_stripe.install \uc_stripe_update_6102()

Implements hook_update_N().

Added active to schema to indicate subscription status.

File

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

Code

function uc_stripe_update_6102() {
  $ret = array();
  db_add_field($ret, 'uc_recurring_stripe', 'active', array(
    'description' => 'Whether or not this subscription is currently active.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ));
  return $ret;
}