diff options
author | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-23 16:48:00 -0700 |
---|---|---|
committer | webchick <webchick@24967.no-reply.drupal.org> | 2011-05-23 16:48:00 -0700 |
commit | 6c57cfa11d58e8c3b6dd5ccc663ce15e2b8842cd (patch) | |
tree | 992ee98627fc8d55866f424d17640646d282ff5c /modules | |
parent | 3adfe45f766f2d69f9957cbe6a552e79540c0326 (diff) | |
download | brdo-6c57cfa11d58e8c3b6dd5ccc663ce15e2b8842cd.tar.gz brdo-6c57cfa11d58e8c3b6dd5ccc663ce15e2b8842cd.tar.bz2 |
Issue #1154822 by lyricnz, Starminder: Fixed User Schema mismatch after upgrade D6 to D7.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/user.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/user/user.install b/modules/user/user.install index 09678187e..df94ad537 100644 --- a/modules/user/user.install +++ b/modules/user/user.install @@ -854,5 +854,18 @@ function user_update_7015() { } /** + * Update the database to match the schema. + */ +function user_update_7016() { + // Add field default. + db_change_field('users', 'uid', 'uid', array( + 'type' => 'int', + 'unsigned' => TRUE, + 'not null' => TRUE, + 'default' => 0, + )); +} + +/** * @} End of "addtogroup updates-6.x-to-7.x" */ |