function commerce_product_ui_update_7100 in Commerce Core 7
Add support for product revisions.
File
- modules/
product/ commerce_product_ui.install, line 70
Code
function commerce_product_ui_update_7100() {
$product_type_revision_spec = array(
'description' => 'Determine whether to create a new revision when a product of this type is updated.',
'type' => 'int',
'size' => 'tiny',
'not null' => TRUE,
'default' => 1,
);
db_add_field('commerce_product_type', 'revision', $product_type_revision_spec);
return t('Support for product revisions has been added to product types.');
}