function uc_quote_update_6004 in Ubercart 6.2
Implements hook_update_N().
Changes currency fields to numeric(16,5).
File
- shipping/
uc_quote/ uc_quote.install, line 257 - Install, update and uninstall functions for the uc_quote module.
Code
function uc_quote_update_6004() {
$ret = array();
db_change_field($ret, 'uc_order_quotes', 'rate', 'rate', array(
'type' => 'numeric',
'precision' => 16,
'scale' => 5,
'not null' => TRUE,
'default' => 0,
));
return $ret;
}