From 4079e0c13754965d503533b186a635d02564db33 Mon Sep 17 00:00:00 2001 From: ryan Date: Tue, 4 Apr 2006 01:15:25 +0000 Subject: [PATCH] Add ID to composite key. #2604 git-svn-id: http://svn.automattic.com/wordpress/trunk@3690 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/upgrade-schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/upgrade-schema.php b/wp-admin/upgrade-schema.php index 3bb399a37a..fb74538467 100644 --- a/wp-admin/upgrade-schema.php +++ b/wp-admin/upgrade-schema.php @@ -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,