You are here

function uc_taxes_update_6000 in Ubercart 6.2

File

uc_taxes/uc_taxes.install, line 92
Install, update and uninstall functions for the uc_taxes module.

Code

function uc_taxes_update_6000() {
  $ret = array();
  db_drop_primary_key($ret, 'uc_taxes');
  db_change_field($ret, 'uc_taxes', 'id', 'id', array(
    'type' => 'serial',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ), array(
    'primary key' => array(
      'id',
    ),
  ));
  return $ret;
}