You are here

function commerce_order_update_7109 in Commerce Core 7

Remove the default value for revision_id on {commerce_order}.

File

modules/order/commerce_order.install, line 472

Code

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