function uc_weightquote_update_2 in Ubercart 5
Same name and namespace in other branches
- 6.2 shipping/uc_weightquote/uc_weightquote.install \uc_weightquote_update_2()
File
- shipping/
uc_weightquote/ uc_weightquote.install, line 75
Code
function uc_weightquote_update_2() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'pgsql':
db_change_column($ret, 'uc_weightquote_products', 'vid', 'vid', 'int_unsigned', array(
'not null' => true,
'default' => 0,
));
db_change_column($ret, 'uc_weightquote_products', 'nid', 'nid', 'int_unsigned', array(
'not null' => true,
'default' => 0,
));
break;
}
return $ret;
}