diff --git a/modules/comment/comment.install b/modules/comment/comment.install
index 51bfa7453cdbb666a1d8700d46a9d36f03536f7c..d64b3acde6223a76b8f4eec81e6ec3949d2111b4 100644
--- a/modules/comment/comment.install
+++ b/modules/comment/comment.install
@@ -343,6 +343,26 @@ function comment_update_7007() {
   db_add_index('comment', 'comment_created', array('created'));
 }
 
+/**
+ * Update database to match Drupal 7 schema.
+ */
+function comment_update_7008() {
+  // Update default status to 1.
+  db_change_field('comment', 'status', 'status', array(
+    'type' => 'int',
+    'unsigned' => TRUE,
+    'not null' => TRUE,
+    'default' => 1,
+    'size' => 'tiny',
+  ));
+
+  // Realign indexes.
+  db_drop_index('comment', 'comment_status_pid');
+  db_add_index('comment', 'comment_status_pid', array('pid', 'status'));
+  db_drop_index('comment', 'comment_pid_status');
+  db_drop_index('comment', 'nid');
+}
+
 /**
  * @} End of "addtogroup updates-6.x-to-7.x"
  */