You are here

function uc_order_update_6006 in Ubercart 6.2

Change to signed floats.

File

uc_order/uc_order.install, line 771
Install, update and uninstall functions for the uc_order module.

Code

function uc_order_update_6006() {
  $ret = array();
  $schema = array(
    'weight' => array(
      'description' => 'The physical weight.',
      'type' => 'float',
      'not null' => TRUE,
      'default' => 0.0,
    ),
  );
  db_change_field($ret, 'uc_order_products', 'weight', 'weight', $schema['weight']);
  return $ret;
}