You are here

function uc_recurring_update_6003 in UC Recurring Payments and Subscriptions 7.2

Same name and namespace in other branches
  1. 6.2 uc_recurring.install \uc_recurring_update_6003()
  2. 6 uc_recurring.install \uc_recurring_update_6003()

Tweak the precision and scale on the fee_amount column again.

File

./uc_recurring.install, line 335
Installs the Recurring Fee module.

Code

function uc_recurring_update_6003() {
  $field = array(
    'type' => 'numeric',
    'precision' => 15,
    'scale' => 3,
    'not null' => TRUE,
    'default' => 0,
  );
  db_change_field('uc_recurring_products', 'fee_amount', 'fee_amount', $field);
  db_change_field('uc_recurring_users', 'fee_amount', 'fee_amount', $field);
}