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
This commit is contained in:
Ryan Boren 2009-09-21 18:09:21 +00:00
parent 0d8a84bb98
commit 38151de2b5
1 changed files with 1 additions and 1 deletions

View File

@ -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 (