function uc_order_update_6017 in Ubercart 6.2
Change size of {uc_order_products}.title and {uc_order_line_items}.title to match size of {node}.title.
File
- uc_order/
uc_order.install, line 1021 - Install, update and uninstall functions for the uc_order module.
Code
function uc_order_update_6017() {
$ret = array();
db_change_field($ret, 'uc_order_products', 'title', 'title', array(
'description' => 'The product title, from {node}.title.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
db_change_field($ret, 'uc_order_line_items', 'title', 'title', array(
'description' => 'The label of the line item.',
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'default' => '',
));
return $ret;
}