function user_update_8008

Make *id fields unsigned.

Related topics

File

drupal/core/modules/user/user.install, line 634
Install, update and uninstall functions for the user module.

Code

function user_update_8008() {
  db_change_field('authmap', 'uid', 'uid', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
    'description' => "User's {users}.uid.",
  ));
}