function user_update_7016

Update the database to match the schema.

Related topics

File

modules/user/user.install, line 858

Code

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

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