summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-05-23 16:48:00 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-05-23 16:48:00 -0700
commit6c57cfa11d58e8c3b6dd5ccc663ce15e2b8842cd (patch)
tree992ee98627fc8d55866f424d17640646d282ff5c /modules
parent3adfe45f766f2d69f9957cbe6a552e79540c0326 (diff)
downloadbrdo-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.install13
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"
*/