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