Index: includes/update.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/update.inc,v
retrieving revision 1.31
diff -u -p -r1.31 update.inc
--- includes/update.inc   25 Jan 2010 10:38:34 -0000   1.31
+++ includes/update.inc   27 Jan 2010 00:45:47 -0000
@@ -266,6 +266,19 @@ function update_fix_d7_requirements() {
     file_put_contents(conf_path() . '/settings.php', "\n" . '$databases = ' . var_export($databases, TRUE) . ";\n\$drupal_hash_salt = '$salt';", FILE_APPEND);
   }
   if (drupal_get_installed_schema_version('system') < 7000 && !variable_get('update_d7_requirements', FALSE)) {
+    // Change 6.x system table field values to 7.x equivelent
+  db_change_field('system', 'status', 'status',
+    array('type' => 'int', 'length' => 11, 'not null' => TRUE, 'default' => 0));
+  db_change_field('system', 'bootstrap', 'bootstrap',
+    array('type' => 'int', 'length' => 11, 'not null' => TRUE, 'default' => 0));
+  db_change_field('system', 'weight', 'weight',
+    array('type' => 'int', 'length' => 11, 'not null' => TRUE, 'default' => 0));
+  db_change_field('system', 'schema_version', 'schema_version',
+   array('type' => 'int',
+     'size' => 'small',
+     'length' => 6,
+     'not null' => TRUE,
+     'default' => -1));
     // Add the cache_path table.
     $schema['cache_path'] = drupal_get_schema_unprocessed('system', 'cache');
     $schema['cache_path']['description'] = 'Cache table used for path alias lookups.';