function uc_ups_update_6000 in Ubercart 6.2
File
- shipping/
uc_ups/ uc_ups.install, line 193 - Install hooks for uc_ups.module.
Code
function uc_ups_update_6000() {
$ret = array();
db_drop_primary_key($ret, 'uc_ups_products');
db_change_field($ret, 'uc_ups_products', 'vid', 'vid', array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
), array(
'primary key' => array(
'vid',
),
));
db_change_field($ret, 'uc_ups_products', 'nid', 'nid', array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,
'default' => 0,
));
return $ret;
}