function system_update_7050

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

Related topics

File

modules/system/system.install, line 2527

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,
    ));
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.