Add ID to composite key. #2604
git-svn-id: http://svn.automattic.com/wordpress/trunk@3690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
230fd0cc1b
commit
4079e0c137
|
@ -118,7 +118,7 @@ CREATE TABLE $wpdb->posts (
|
|||
comment_count bigint(20) NOT NULL default '0',
|
||||
PRIMARY KEY (ID),
|
||||
KEY post_name (post_name),
|
||||
KEY type_status_date (post_type, post_status, post_date)
|
||||
KEY type_status_date (post_type, post_status, post_date, ID)
|
||||
);
|
||||
CREATE TABLE $wpdb->users (
|
||||
ID bigint(20) unsigned NOT NULL auto_increment,
|
||||
|
|
Loading…
Reference in New Issue