function uc_order_update_5 in Ubercart 5
File
- uc_order/
uc_order.install, line 350
Code
function uc_order_update_5() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {uc_orders} ADD data text");
break;
case 'pgsql':
db_add_column($ret, 'uc_orders', 'data', 'text', array());
break;
}
return $ret;
}