diff --git a/modules/node/node.install b/modules/node/node.install
index 14290e3ad116ccd92b70f3bf7116163a0d10fc4c..852c1117b11e4e04fd650b1eb7c18b8ece73e039 100644
--- a/modules/node/node.install
+++ b/modules/node/node.install
@@ -836,6 +836,29 @@ function node_update_7010() {
   db_create_table('block_node_type', $schema['block_node_type']);
 }
 
+/**
+ * Update the database from Drupal 6 to match the schema.
+ */
+function node_update_7011() {
+  // Drop node moderation field.
+  db_drop_field('node', 'moderate');
+  db_drop_index('node', 'node_moderate');
+
+  // Change {node_revision}.status field to default to 1.
+  db_change_field('node_revision', 'status', 'status', array(
+    'type' => 'int',
+    'not null' => TRUE,
+    'default' => 1,
+  ));
+
+  // Change {node_type}.module field default.
+  db_change_field('node_type', 'module', 'module', array(
+    'type' => 'varchar',
+    'length' => 255,
+    'not null' => TRUE,
+  ));
+}
+
 /**
  * @} End of "addtogroup updates-6.x-to-7.x"
  */