function commerce_tax_ui_update_7002 in Commerce Core 7
Update the tax type and tax rate descriptions to accept NULL values.
File
- modules/
tax/ commerce_tax_ui.install, line 211
Code
function commerce_tax_ui_update_7002() {
$spec = array(
'description' => 'A brief description of this type.',
'type' => 'text',
'size' => 'medium',
'not null' => FALSE,
);
db_change_field('commerce_tax_type', 'description', 'description', $spec);
$spec['description'] = 'A brief description of this rate.';
db_change_field('commerce_tax_rate', 'description', 'description', $spec);
return t('The tax type and tax rate tables were updated properly.');
}