You are here

function commerce_product_update_7104 in Commerce Core 7

Remove the default value for revision_id on {commerce_product}.

File

modules/product/commerce_product.install, line 413

Code

function commerce_product_update_7104() {
  db_change_field('commerce_product', 'revision_id', 'revision_id', array(
    'description' => 'The current {commerce_product_revision}.revision_id version identifier.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => FALSE,
  ));
  return t('Schema for the commerce_product table has been updated.');
}