function user_update_7016
7.x user.install | user_update_7016() |
Update the database to match the schema.
Related topics
File
- drupal-7.x/
modules/ user/ user.install, line 845 - 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,
));
}