function uc_store_update_6007 in Ubercart 6.2
Add weight column to uc_countries table.
File
- uc_store/
uc_store.install, line 297 - Install, update, and uninstall functions for the uc_store module.
Code
function uc_store_update_6007() {
$ret = array();
$weight_schema = array(
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 0,
'description' => 'The list order for this country.',
);
db_add_field($ret, 'uc_countries', 'weight', $weight_schema);
return $ret;
}