From 38151de2b51aebbe292d5f3b55510850ce241577 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 21 Sep 2009 18:09:21 +0000 Subject: [PATCH] Key should be comment_id not post_id. see #2659 git-svn-id: https://develop.svn.wordpress.org/trunk@11955 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index ef8ade2c9f..2cebeb169e 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -60,7 +60,7 @@ CREATE TABLE $wpdb->commentmeta ( meta_key varchar(255) default NULL, meta_value longtext, PRIMARY KEY (meta_id), - KEY post_id (comment_id), + KEY comment_id (comment_id), KEY meta_key (meta_key) ) $charset_collate; CREATE TABLE $wpdb->comments (