function uc_recurring_update_6002 in UC Recurring Payments and Subscriptions 6
Same name and namespace in other branches
- 6.2 uc_recurring.install \uc_recurring_update_6002()
- 7.2 uc_recurring.install \uc_recurring_update_6002()
File
- ./
uc_recurring.install, line 208 - Installs the Recurring Fee module.
Code
function uc_recurring_update_6002() {
$ret = array();
// Make the numeric fields signed for Postgres compatibility.
db_change_field($ret, 'uc_recurring_products', 'fee_amount', 'fee_amount', array(
'type' => 'numeric',
'precision' => 10,
'scale' => 2,
'not null' => TRUE,
'default' => 0,
));
db_change_field($ret, 'uc_recurring_users', 'fee_amount', 'fee_amount', array(
'type' => 'numeric',
'precision' => 10,
'scale' => 2,
'not null' => TRUE,
'default' => 0,
));
return $ret;
}