function uc_attribute_update_7000 in Ubercart 7.3
Add description format for attributes.
File
- uc_attribute/
uc_attribute.install, line 460 - Install, update and uninstall functions for the uc_attribute module.
Code
function uc_attribute_update_7000() {
db_add_field('uc_attributes', 'format', array(
'description' => 'Format of the attribute description.',
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
db_update('uc_attributes')
->fields(array(
'format' => 0,
))
->execute();
}