function uc_taxes_update_2 in Ubercart 5
File
- uc_taxes/
uc_taxes.install, line 69
Code
function uc_taxes_update_2() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {uc_taxes} CHANGE COLUMN shipping taxed_line_items text NOT NULL");
break;
case 'pgsql':
db_change_column($ret, 'uc_taxes', 'shipping', 'taxed_line_items', 'text', array(
'not null' => true,
'default' => "''",
));
break;
}
return $ret;
}