You are here

function uc_usps_update_5 in Ubercart 6.2

Same name and namespace in other branches
  1. 5 shipping/uc_usps/uc_usps.install \uc_usps_update_5()

File

shipping/uc_usps/uc_usps.install, line 169
Install hooks for uc_usps.module.

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;
}