Key should be comment_id not post_id. see #2659
git-svn-id: http://svn.automattic.com/wordpress/trunk@11955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8a0bafef24
commit
ef17b0b875
|
@ -60,7 +60,7 @@ CREATE TABLE $wpdb->commentmeta (
|
||||||
meta_key varchar(255) default NULL,
|
meta_key varchar(255) default NULL,
|
||||||
meta_value longtext,
|
meta_value longtext,
|
||||||
PRIMARY KEY (meta_id),
|
PRIMARY KEY (meta_id),
|
||||||
KEY post_id (comment_id),
|
KEY comment_id (comment_id),
|
||||||
KEY meta_key (meta_key)
|
KEY meta_key (meta_key)
|
||||||
) $charset_collate;
|
) $charset_collate;
|
||||||
CREATE TABLE $wpdb->comments (
|
CREATE TABLE $wpdb->comments (
|
||||||
|
|
Loading…
Reference in New Issue