Index: modules/upload/upload.install
===================================================================
RCS file: /cvs/drupal/drupal/modules/upload/upload.install,v
retrieving revision 1.6
diff -u -p -r1.6 upload.install
--- modules/upload/upload.install	18 Dec 2007 12:59:22 -0000	1.6
+++ modules/upload/upload.install	8 Feb 2008 17:04:06 -0000
@@ -5,8 +5,12 @@
  * Implementation of hook_install().
  */
 function upload_install() {
-  // Create tables.
-  drupal_install_schema('upload');
+  // Create table. The upload table might have been created in the Drupal 5
+  // to Drupal 6 upgrade, and was migrated from the file_revisions table. So
+  // in this case, there is no need to create the table, it is already there.
+  if (!db_table_exists('upload')) {
+    drupal_install_schema('upload');
+  }
 }
 
 /**
