Add ID to composite key. #2604

git-svn-id: https://develop.svn.wordpress.org/trunk@3690 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-04-04 01:15:25 +00:00
parent f1a38b0b9d
commit cc11a073cc
1 changed files with 1 additions and 1 deletions

View File

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