function user_update_7016

Update the database to match the schema.

Related topics

File

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

Code

function user_update_7016() {

  // Add field default.
  db_change_field('users', 'uid', 'uid', array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
    'default' => 0,
  ));
}