function system_update_7050

Change {batch}.id column from serial to regular int.

Related topics

File

drupal/modules/system/system.install, line 2477
Install, update and uninstall functions for the system module.

Code

function system_update_7050() {
  db_change_field('batch', 'bid', 'bid', array(
    'description' => 'Primary Key: Unique batch ID.',
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
  ));
}