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:
parent
0d8a84bb98
commit
38151de2b5
|
@ -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 (
|
||||
|
|
Loading…
Reference in New Issue