function uc_weightquote_update_2 in Ubercart 6.2
Same name and namespace in other branches
- 5 shipping/uc_weightquote/uc_weightquote.install \uc_weightquote_update_2()
File
- shipping/
uc_weightquote/ uc_weightquote.install, line 138 - Install modules for uc_weightquote.module.
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;
}