From 6c57cfa11d58e8c3b6dd5ccc663ce15e2b8842cd Mon Sep 17 00:00:00 2001 From: webchick Date: Mon, 23 May 2011 16:48:00 -0700 Subject: Issue #1154822 by lyricnz, Starminder: Fixed User Schema mismatch after upgrade D6 to D7. --- modules/user/user.install | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'modules/user/user.install') 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 @@ -853,6 +853,19 @@ 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" */ -- cgit v1.2.3