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:
ryan 2009-09-21 18:09:21 +00:00
parent 8a0bafef24
commit ef17b0b875
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_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 (