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