You are here

function uc_order_update_6007 in Ubercart 6.2

Add data field to uc_order_line_items.

File

uc_order/uc_order.install, line 790
Install, update and uninstall functions for the uc_order module.

Code

function uc_order_update_6007() {
  $ret = array();
  if (!db_column_exists('uc_order_line_items', 'data')) {
    db_add_field($ret, 'uc_order_line_items', 'data', array(
      'type' => 'text',
    ));
  }
  return $ret;
}